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

Sync gateway _changes, restricted heartbeat range not documented

    XMLWordPrintable

Details

    Description

      First comment:

      When using long polling with SG _changes feed a heartbeat interval can be set in milli seconds, SG restricts the range of this internally, this should be documented to avoid unexpected behaviour.

      // Minimum value of _changes?heartbeat property
      const kMinHeartbeatMS = 25 * 1000

      // Default value of _changes?timeout property
      const kDefaultTimeoutMS = 5 * 60 * 1000

      // Maximum value of _changes?timeout property
      const kMaxTimeoutMS = 15 * 60 * 1000

      see other comments: https://github.com/couchbaselabs/couchbase-mobile-portal/issues/115

      Attachments

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

        Activity

          People

            Ian.bridge Ian Bridge
            jamiltz James Nocentini
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty