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
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • tech-debt
    • sdk
    • None

    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

            david.saadeh David Saadeh (Inactive) created issue -
            david.saadeh David Saadeh (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to DOC-4641 [ DOC-4641 ]
            richard.smedley Richard Smedley made changes -
            Link This issue relates to DOC-4638 [ DOC-4638 ]
            richard.smedley Richard Smedley made changes -
            Assignee Amarantha Kulkarni [ amarantha.kulkarni ] Richard Smedley [ richard smedley ]
            richard.smedley Richard Smedley made changes -
            Rank Ranked higher
            richard.smedley Richard Smedley made changes -
            Rank Ranked higher
            david.saadeh David Saadeh (Inactive) made changes -
            Assignee Richard Smedley [ richard smedley ] Michael Goldsmith [ mike.goldsmith ]
            david.saadeh David Saadeh (Inactive) made changes -
            Assignee Michael Goldsmith [ mike.goldsmith ] Richard Smedley [ richard smedley ]
            richard.smedley Richard Smedley made changes -
            Fix Version/s tech-debt [ 12416 ]
            richard.smedley Richard Smedley made changes -
            Component/s sdk [ 14110 ]
            brett19 Brett Lawson made changes -
            Story Points 1

            People

              richard.smedley Richard Smedley
              david.saadeh David Saadeh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty