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

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.0
    • None
    • None
    • 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

        For Gerrit Dashboard: CCBC-830
        # Subject Branch Project Status CR V

        Activity

          People

            ingenthr Matt Ingenthron
            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