Skip to content

DOCSP-48326: Connection Pooling technical feedback #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions source/connect/connection-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ in the {+mdb-server+} manual.
- Description

* - ``connectTimeoutMS``
- | The time that {+driver-short+} waits when connecting a new
socket before timing out.
- | The time that {+driver-short+} waits when establishing a new
connection before timing out.
|
| **Data Type**: ``int``
| **Default**: ``20000``
Expand All @@ -184,7 +184,9 @@ in the {+mdb-server+} manual.
| **Connection URI Example**: ``maxConnecting=3``

* - ``maxIdleTimeMS``
- | The maximum time that a connection can remain idle in the pool.
- | The maximum time that a connection can remain idle in the pool. When a connection

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When a connection exceeds the maxIdleTimeMS limit, it is closed and removed from the pool entirely since it's already waiting unused in the pool.

exceeds this limit, {+driver-short+} closes the connection and removes it from
the pool.
|
| **Data Type**: ``int``
| **Default**: ``None`` (no limit)
Expand Down
Loading