[CSHARP-4454] Investigate consistency of various timeouts settings Created: 16/Dec/22  Updated: 03/Jan/23

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

Type: Task Priority: Unknown
Reporter: Boris Dogadov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-3138 Define behavior of connectTimeoutMS=0... Backlog

 Description   

In MongoClientSettings TimeSpan.Infinite means no timeout according to .Net conventions
While in ConnectionString 0 denotes no timeout according to spec.

Seems that for each setting, handling of 0 and Infinite is done differently and in a different area. Ideally we need a single place to convert spec standards to .Net convention.


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