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

Query timeout cannot exceed 100 seconds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.6.3
    • 3.6.0, 3.6.1, 3.6.2
    • None
    • None
    • 1
    • SDK30, SDK32

    Description

      ๐Ÿงต Story

      This is a regression introduced with 3.6.0 where the timeout value from QueryOptions isn't passed to the .NET HttpClients we create in the QueryClient.

      The default Timeout for HttpClient is 100 seconds if left unspecified, meaning queries with a timeout value superior to that will timeout earlier than expected.

      ๐Ÿ› ๏ธ Acceptance Criteria

      The QueryOptions' Timeout should be passed when creating the HttpClient (created per-request) in ExecuteQuery.

      A Unit Test should also be added to test for this case.

      ๐Ÿ“š Resources

      Attachments

        Issue Links

          Activity

            People

              emilien.bevierre Emilien Bevierre
              emilien.bevierre Emilien Bevierre
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty