Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1201

Remove OperationTimeout from Settings

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              craiggwilson Craig Wilson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: