[CSHARP-1201] Remove OperationTimeout from Settings Created: 20/Mar/15 Updated: 02/Apr/15 Resolved: 20/Mar/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Craig Wilson | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
We've decided to remove the global/settings based OperationTimeout. It was simply using a cancellation token with a timeout baked in and didn't provide as much granular control as is probably needed for this type of setting. In addition, a client-side timeout like this doesn't alert the server of a cancelled request. Hence, for timeouts, using maxTimeMS in the places where it's supported is the better alternative. When client-side timeouts are needed, writing a WithTimeout extension method is trivial. |
| Comments |
| Comment by Githook User [ 20/Mar/15 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |