File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -185,9 +185,17 @@ for details on driver options.
185185
186186 # Force the driver to connect in a specific way instead of auto-
187187 # discovering. Can be one of: :direct, :replica_set, :sharded. Set to :direct
188- # when connecting to hidden members of a replica set.
188+ # when connecting to hidden members of a replica set. This option is deprecated
189+ # and using it to specify :replica_set or :sharded is generally unnecessary.
190+ # To force the client to use a direct connection, it is recommended that the
191+ # direct_connection option be used.
189192 connect: :direct
190193
194+ # To disable the deployment type discovery and force all operations to be
195+ # performed on a particular server, specify the direct_connection option
196+ # as true. (default: false)
197+ direct_connection: false
198+
191199 # Change the default time in seconds the server monitors refresh their status
192200 # via hello commands. (default: 10)
193201 heartbeat_frequency: 10
You can’t perform that action at this time.
0 commit comments