Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-737

Can't define operation_timeout in v3.x

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 3.0.0
    • lcb
    • Mac OS Mojave, node v12.14.0, Couchbase server v6.5.1, couchnode v3.0.0
    • 1

    Description

      We can see [here|https://docs.couchbase.com/nodejs-sdk/2.6/client-settings.html] as in older versions we could define the `operation_timeout` when connecting to the db.

       

      I have seen that the parameter is still used in the C/C++ code of the lib: https://github.com/couchbase/couchnode/search?q=operation_timeout&unscoped_q=operation_timeout

       

      But it is not possible to change its value anymore because the parameter is not accepted in the node function: https://github.com/couchbase/couchnode/blob/master/lib/cluster.js#L76

       

      Is there a way to change the operation_timeout value? If not, could it be possible to add this option again to the code?

       

      Thanks in advance.

      Attachments

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              xgalen Alfredo López
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty