Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit ed15ecf

Browse files
author
Martin Cizek
committed
Add readme information about how the client picks among multiple servers
1 parent cf29972 commit ed15ecf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/client.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ client is:
3434
|strictDN |Force strict DN parsing for client methods (Default is true)|
3535
|reconnect |Try to reconnect when the connection gets lost (Default is false)|
3636

37+
### url
38+
This parameter takes a single connection string or an array of connection strings
39+
as an input. In case an array is provided, the client tries to connect to the
40+
servers in given order. To achieve random server strategy (e.g. to distribute
41+
the load among the servers), please shuffle the array before passing it as an
42+
argument.
43+
3744
### Note On Logger
3845

3946
A passed in logger is expected to conform to the [Bunyan](https://www.npmjs.com/package/bunyan)

0 commit comments

Comments
 (0)