Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1710

RequestExecutorBase doesn't set query timeout when passed in token is cancellable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.0
    • None
    • None
    • None
    • 1

    Description

      The RequestExecutorBase has a utility function that managed cancellation tokens, where by it receives a cancelaltion token as an input argument (may be CancellationToken.None) and created a linked Token Source. However, it should always set the new token source's timeout to the query request timeout but only does it if the passed in token is not cancellable (ie a default value).

      This new linked token source should always set the timeout using the request timeout.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            btburnett3 Brant Burnett
            mike.goldsmith Michael Goldsmith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty