Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9535

Unclear how to set query timeout parameter with Python SDK

    XMLWordPrintable

Details

    Description

      I was trying to answer https://forums.couchbase.com/t/timeout-exceeded-error/32549, which just needs a timeout set, but can't see how to do it from the docs.

      This page mentions:

      > The full list of recognized parameters is documented in the client settings reference. Any client setting with a system property name may also be specified as a connection string parameter.

      But presumably client settings reference is meant to be linked and isn't. There is a link later to the C docs, but these don't specify most parameters either, e.g. how to set a global query timeout.

      I then went to https://docs.couchbase.com/python-sdk/current/howtos/n1ql-queries-with-sdk.html to find how to set the timeout at the operation level. But this also does not list timeout as a supported parameter.

      Reporter: Graham Pople
      E-mail: graham.pople@couchbase.com

      Attachments

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

        Activity

          People

            hakim.cassimally Hakim Cassimally
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty