[CSHARP-1193] OperationTimeout via ConnectionString Created: 17/Mar/15  Updated: 06/Sep/18  Resolved: 20/Mar/15

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

Type: New Feature Priority: Minor - P4
Reporter: Matthew Bennett [X] Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-1201 Remove OperationTimeout from Settings Closed

 Description   

Is it intentional for some reason that MongoUrl/MongoUrlBuilder/ConnectionString don’t support/parse OperationTimeout?

It’d be nice to be able to specify an operation timeout in a Web.config-stored connection string (e.g., “mongodb://localhost/admin/?operationTimeout=5”).



 Comments   
Comment by Craig Wilson [ 20/Mar/15 ]

Hi Matthew,

We've decided to remove the OperationTimeout feature from the driver completely. See CSHARP-1201 for more details.

We are in a position where we don't see it's value and was causing certain issues with other implementations for when it was allowed to be ignored (think GridFS and large files that can't possibly be loaded in a possible time) as well as the fact that this is not a substitute for maxTimeMS.

Craig

Comment by Craig Wilson [ 17/Mar/15 ]

That's a good feature request. We'll absolutely take it into consideration.

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