[CSHARP-3151] Do not override ServerSelectionTimeout option in mongocryptdURI Created: 06/Jul/20  Updated: 13/Jul/20  Resolved: 13/Jul/20

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

Type: Improvement Priority: Trivial - P5
Reporter: Mikalai Mazurenka (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently when creating mongocryptd client we override ServerSelectionTimeout to be 1 second (MongocryptdFactory.CreateMongocryptdClient()).
We should consider changing this behavior if we want to allow the options to be more extensible.
For example we can specify the following mongocryptdURI option: "mongodb://localhost:27021/db?serverSelectionTimeoutMS=5000"
In current implementation serverSelectionTimeoutMS would be silently ignored.


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