[CSHARP-4110] Remove initialCount upper bound check in SemaphoreSlimSignalable Created: 23/Mar/22  Updated: 28/Oct/23  Resolved: 25/Mar/22

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

Type: Bug Priority: Unknown
Reporter: Boris Dogadov Assignee: Boris Dogadov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CSHARP-4113 Exception when max pool size greater ... Closed
Epic Link: Quick Wins

 Description   

ConnectionPool switched to SemaphoreSlimSignalable from SemaphoreSlim for enforcing MaxConnections, therefore this check unnecessary bounds the amount of connections in the pool.



 Comments   
Comment by Githook User [ 04/May/22 ]

Author:

{'name': 'Boris', 'email': 'boris.dogadov@mongodb.com', 'username': 'BorisDog'}

Message: CSHARP-4110: Remove initialCount upper bound check in SemaphoreSlimSignalable
Branch: v2.15.x
https://github.com/mongodb/mongo-csharp-driver/commit/a13ba0caa5eb5fe8b7477ca8eaf9794f7b3c4c41

Comment by Githook User [ 25/Mar/22 ]

Author:

{'name': 'Boris', 'email': 'boris.dogadov@mongodb.com', 'username': 'BorisDog'}

Message: CSHARP-4110: Remove initialCount upper bound check in SemaphoreSlimSignalable
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/1b62283a0e52b10017b26ef1af237d6b42a1531c

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