Repository: couchdb-documentation Updated Branches: refs/heads/master d394b58b3 -> 83caf89de
_db_updates heartbeat option is a number like for _changes feed Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/d7c7abd2 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/d7c7abd2 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/d7c7abd2 Branch: refs/heads/master Commit: d7c7abd2eea8f403a1c08f10e56b2425ea564f56 Parents: 72cc8cd Author: Johannes J. Schmidt <[email protected]> Authored: Wed Dec 7 11:17:59 2016 +0100 Committer: Johannes J. Schmidt <[email protected]> Committed: Thu Jan 12 17:59:39 2017 +0100 ---------------------------------------------------------------------- src/api/server/common.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/d7c7abd2/src/api/server/common.rst ---------------------------------------------------------------------- diff --git a/src/api/server/common.rst b/src/api/server/common.rst index debd856..f7d9be5 100644 --- a/src/api/server/common.rst +++ b/src/api/server/common.rst @@ -230,8 +230,11 @@ <http://dev.w3.org/html5/eventsource/>`_ format. :query number timeout: Number of seconds until CouchDB closes the connection. Default is ``60``. - :query boolean heartbeat: Whether CouchDB will send a newline character - (``\n``) on ``timeout``. Default is ``true``. + :query number heartbeat: Period in *milliseconds* after which an empty + line is sent in the results. Only applicable for ``longpoll``, + ``continuous``, and ``eventsource`` feeds. Overrides any timeout to keep + the feed alive indefinitely. Default is ``60000``. May be ``true`` to + use default value. :>header Content-Type: - :mimetype:`application/json` - :mimetype:`text/plain; charset=utf-8` :>header Transfer-Encoding: ``chunked``
