Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-830

cntl.h header confusing or ambigious

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: None
    • Labels:
      None

      Description

      Trying to set the poll interval via a connstr, I found this in cntl.h

      https://github.com/couchbase/libcouchbase/blob/master/include/libcouchbase/cntl.h#L992-L993

      It seems to refer to

      https://github.com/couchbase/libcouchbase/blob/master/include/libcouchbase/cntl.h#L83

      But then in discussion it turns out that when supplied at the connstr (the most common case) it is handled in seconds.  

      The cntl.h docs need to be cleaned up.

        Attachments

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

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ingenthr Matt Ingenthron
              Reporter:
              ingenthr Matt Ingenthron
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.