Skip to content
Permalink
Browse files
Unit for timeout is milliseconds. Fix #676
  • Loading branch information
big-r81 committed May 5, 2022
1 parent 065f828 commit c307b1dd3732c23dab6b5f16c667dfe3d836a98d
Showing 1 changed file with 2 additions and 2 deletions.
@@ -540,8 +540,8 @@
- **eventsource**: Like, ``continuous``, but sends
the events in `EventSource
<http://dev.w3.org/html5/eventsource/>`_ format.
:query number timeout: Number of seconds until CouchDB closes the
connection. Default is ``60``.
:query number timeout: Number of *milliseconds* until CouchDB closes the
connection. Default is ``60000``.
: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

0 comments on commit c307b1d

Please sign in to comment.