Skip to content

Commit 1f5cbfd

Browse files
committed
edits
1 parent b17bbb6 commit 1f5cbfd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source/connect/connection-pools.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,12 @@ see the corresponding syntax:
124124
:tabid: MongoClient
125125

126126
To specify connection pool settings in a ``MongoClientSettings`` object,
127-
chain the ``applyToConnectionPoolSettings()`` method to the ``MongoClientSettings`` builder.
127+
chain the ``applyToConnectionPoolSettings()`` method to the ``MongoClientSettings`` builder.
128+
Pass a ``ConnectionPoolSettings.Builder`` block as a parameter to the
129+
``applyToConnectionPoolSettings()`` method.
128130

129-
The following table describes the setter methods you can use inside ``applyToConnectionPoolSettings()``
130-
to configure the connection pool:
131+
The following table describes the setter methods you can use in a
132+
``ConnectionPoolSettings.Builder`` block to configure the connection pool:
131133

132134
.. list-table::
133135
:widths: 40 60
@@ -175,8 +177,8 @@ see the corresponding syntax:
175177

176178
*Default*: ``0``
177179

178-
To learn more about these methods, see the `applyToConnectionPoolSettings()
179-
<{+core-api+}/MongoClientSettings.Builder.html#applyToConnectionPoolSettings(com.mongodb.Block)>`__
180+
To learn more about these methods, see the `ConnectionPoolSettings.Builder
181+
<{+core-api+}/connection/ConnectionPoolSettings.Builder.html>`__
180182
API documentation.
181183

182184
Example

0 commit comments

Comments
 (0)