Skip to content

Add Pool Idle Timeout to control connection pool #343

Description

@David-Engel

From an internal email thread asking about ADO.NET connection pooling, we have this feature request from an ISV:

Is your feature request related to a problem? Please describe.

Right now, connections returned to the pool are automatically managed and closed/disposed from the pool after 4-8 minutes of idle time. This request is to be able to configurable the amount of time a connection can be idle in the pool before it is closed. "Pool Idle Timeout".

Describe the solution you'd like

A new connection string setting, "Pool Idle Timeout" which defines the number of seconds a connection can be idle in the pool before it is automatically closed.

Describe alternatives you've considered

Letting the 4-8 minute auto close do its thing. Using ClearPool() and ClearAllPools().

Metadata

Metadata

Assignees

Labels

ApprovedUse for Features approved for implementation.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions