Skip to content

Commit 76c2cfa

Browse files
p-mongop
andauthored
RUBY-2623 Add load_balanced Ruby option & loadBalanced URI option (#2239)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 0d85bd1 commit 76c2cfa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/reference/create-client.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ Ruby Options
362362
- ``Object``
363363
- none
364364

365+
* - ``:load_balanced``
366+
- Whether to expect to connect to a load balancer.
367+
- ``Boolean``
368+
- false
369+
365370
* - ``:local_threshold``
366371
- Specifies the maximum latency in seconds between the nearest
367372
server and the servers that can be available for selection to operate on.
@@ -782,6 +787,9 @@ URI options are explained in detail in the :manual:`Connection URI reference
782787
* - journal=Boolean
783788
- ``{ :write_concern => { :j => true|false }}``
784789

790+
* - loadBalanced=Boolean
791+
- ``:load_balanced => Boolean``
792+
785793
* - localThresholdMS=Integer
786794
- ``:local_threshold => Float``
787795

0 commit comments

Comments
 (0)