File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ and the ``tls`` option with a value of ``true``:
4646 uri = "mongodb://<hostname>:<port>/?connectTimeoutMS=60000&tls=true"
4747 client = Mongo::Client.new(uri)
4848
49- Using a `` Mongo::Client``
50- ~~~~~~~~~~~~~~~~~~~~~~~~~
49+ Using a Mongo::Client
50+ ~~~~~~~~~~~~~~~~~~~~~
5151
5252You can pass connection options as arguments to the ``Mongo::Client`` constructor
5353instead of including them in your connection URI.
@@ -150,6 +150,14 @@ Server Selection
150150 * - Connection Option
151151 - Description
152152
153+ * - **:load_balanced**
154+ - | Whether to expect to connect to a load balancer.
155+ |
156+ | **Data Type**: ``Boolean``
157+ | **Default**: ``false``
158+ | **Client Example**: ``load_balanced: { true }``
159+ | **Connection URI Example**: N/A
160+
153161 * - **:server_selector**
154162 - | Get the server selector. It either uses the read preference
155163 defined in the client options or defaults to a Primary
You can’t perform that action at this time.
0 commit comments