-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Options & Configuration
-
None
If serverSelectionTimeoutMS is set in URI it is not set but default 30s timeout is always used.
It seems to be quite trivial omission here, in case "serverselectiontimeoutms" block:
https://github.com/mongodb/mongo-go-driver/blob/master/x/network/connstring/connstring.go#L570
It seems that bug is caused by property "ServerSelectionTimeoutSet" being not set at the end of case block.
- links to