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

Node.js SDK: client settings page referencing libcouchbase calls and lacks some examples

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • tech-debt
    • None
    • sdk

    Description

      On this page https://docs.couchbase.com/nodejs-sdk/2.6/client-settings.html and previous versions, we are showing C calls that don't seem to be relevant on changing the settings from within the Node.js SDK, for example:

      lcb_U32 curval;
      lcb_cntl(instance, LCB_CNTL_GET, LCB_CNTL_OPTIMEOUT, &curval);
      

      Also, we initially mention that timeout settings can be changed from the bucket object, for example using "operationTimeout", but we don't show an example of how to use it, and we don't mention that this takes milliseconds as shown in the SDK docs http://docs.couchbase.com/sdk-api/couchbase-node-client-2.6.2/Bucket.html#operationTimeout__anchor

      Attachments

        Issue Links

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

          Activity

            People

              richard.smedley Richard Smedley
              david.saadeh David Saadeh (Inactive)
              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