Skip to content

Commit 24581a3

Browse files
committed
edits
1 parent 39c3245 commit 24581a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/connect/connection-options/connection-pools.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Configure a Connection Pool
5858
---------------------------
5959

6060
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.
6262

6363
Select the :guilabel:`Connection String` or :guilabel:`MongoClientSettings` tab to
6464
see the corresponding syntax:
@@ -117,8 +117,6 @@ see the corresponding syntax:
117117
.. tab:: ClientOptions
118118
:tabid: ClientOptions
119119

120-
You can set the connection pool options directly using the ``options.Client`` methods.
121-
122120
The following table describes the methods you can chain to your settings
123121
to modify the driver's behavior:
124122

@@ -151,7 +149,7 @@ see the corresponding syntax:
151149

152150
*Default:* ``2``
153151

154-
* - ``SetMAxConnIdleTime()``
152+
* - ``SetMaxConnIdleTime()``
155153

156154
- The maximum number of milliseconds that a connection can remain idle in
157155
the pool before being removed and closed.

0 commit comments

Comments
 (0)