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

        There are no Sub-Tasks for this issue.

        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:

              PagerDuty