[CSHARP-271] When a connection pool is created immediately add MinConnectionPoolSize connections to it Created: 19/Jul/11  Updated: 02/Apr/15  Resolved: 26/Jul/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.2

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Rather than letting the connection pool slowly grow to MinConnectionPoolSize on demand, immediately add MinConnectionPoolSize connections to it as soon as it is created. The current implementation only looks at MinConnectionPoolSize when deciding whether to shrink the pool, not when the pool is created.



 Comments   
Comment by Robert Stam [ 26/Jul/11 ]

When Connect is called for the primary only immediately start creating connections on a background thread until MinConnectionPoolSize is reached.

Generated at Wed Feb 07 21:36:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.