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

Clarify documentation of "touch"

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 2.0.11
    • 2.0.7
    • docs
    • Security Level: Public
    • None

    Description

      On http://docs.couchbase.com/sdk-api/couchbase-node-client-2.0.7/Bucket.html#touch, the expiry parameter is only defined as "time in seconds". This leads to confusion if setting to values > 30 days, since the underlying http://docs.couchbase.com/sdk-api/couchbase-c-client-2.4.8/group__lcb-touch.html#ga7e8c730d6413a2c7143cd3853c2cc8d3 states: "Values larger than 30*24*60*60 seconds (30 days) are interpreted as absolute times (from the epoch)."

      This information should also be present in the couchnode documentation of the touch method.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            pbihler pbihler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty