-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.4
-
Component/s: Error Handling, Performance
-
None
... and specifying a non-zero MinConnectionPoolSize.
Unable to find source-code formatter for language: csharp. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
var connString = "mongodb://knownRemoteServer,unknownServer"; var settings = MongoClientSettings.FromUrl(MongoUrl.Create(connString)); settings.MinConnectionPoolSize = 1; var client = new MongoClient(settings);
knownRemoteServer - any MongoDB server
unknownServer - unresolved hostname from DNS
Reason: maintenance interval not used while connection error.
- duplicates
-
CSHARP-2861 Having incorrect credentials along with minPoolSize > 0 makes the driver to endlessly create new connections
- Closed