File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ Using a ``Mongo::Client``
42
42
43
43
You can pass connection options as arguments to the ``Mongo::Client`` constructor
44
44
instead of including them in your connection URI.
45
- Configuring the connection this way makes it easier to
46
- change settings at runtime and helps you catch errors during compilation.
45
+ When you configure your connection this way, it easier for you to
46
+ change settings at runtime and catch errors during compilation.
47
47
The following example shows how to use the ``Mongo::Client`` constructor to set
48
48
connection options:
49
49
@@ -161,8 +161,8 @@ Server Selection
161
161
| **Connection URI Example**: N/A
162
162
163
163
* - **:server_selection_timeout**
164
- - | The number of seconds to wait for an appropriate server to
165
- | be selected for an operation to be executed before raising an exception.
164
+ - | The maximum amount of time, in seconds, the driver waits
165
+ | for server selection to succeed before throwing an exception.
166
166
|
167
167
| **Data Type**: ``Integer``
168
168
| **Default**: ``30``
You can’t perform that action at this time.
0 commit comments