-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.4
-
Component/s: API
-
None
-
Environment:windows 10,JDK 8
I use the class 'MongoClientOptions.Builder' to set some properties when construct a "MongoClient" object. Settings as follows:
connectionsPerHost(10)
minConnectionsPerHost(3)
maxConnectionIdleTime(30000)
when lots of request come the pooled connections come up to 10 and it show the api is right;but 30 seconds later the connections all colsed,nothing left!!!
- duplicates
-
JAVA-2027 Connection pool does not properly open connections when ensuring minimum pool size
- Closed