File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
source/connect/connection-options Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Configure a Connection Pool
58
58
---------------------------
59
59
60
60
You can specify settings for your connection pool either by using a connection
61
- string with the ``options.Client().ApplyURI() `` method .
61
+ string or by using the ``options.Client`` methods .
62
62
63
63
Select the :guilabel:`Connection String` or :guilabel:`MongoClientSettings` tab to
64
64
see the corresponding syntax:
@@ -117,8 +117,6 @@ see the corresponding syntax:
117
117
.. tab:: ClientOptions
118
118
:tabid: ClientOptions
119
119
120
- You can set the connection pool options directly using the ``options.Client`` methods.
121
-
122
120
The following table describes the methods you can chain to your settings
123
121
to modify the driver's behavior:
124
122
@@ -151,7 +149,7 @@ see the corresponding syntax:
151
149
152
150
*Default:* ``2``
153
151
154
- * - ``SetMAxConnIdleTime ()``
152
+ * - ``SetMaxConnIdleTime ()``
155
153
156
154
- The maximum number of milliseconds that a connection can remain idle in
157
155
the pool before being removed and closed.
You can’t perform that action at this time.
0 commit comments