Repository: couchdb-global-changes Updated Branches: refs/heads/master a7a45633e -> 1bd25eea2
handle heartbeat=false Project: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/commit/1bd25eea Tree: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/tree/1bd25eea Diff: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/diff/1bd25eea Branch: refs/heads/master Commit: 1bd25eea22d0ff6f1854a12cb9e8b0d2b42f9a53 Parents: a7a4563 Author: Robert Newson <[email protected]> Authored: Sat Apr 11 16:37:59 2015 +0100 Committer: Robert Newson <[email protected]> Committed: Sat Apr 11 16:37:59 2015 +0100 ---------------------------------------------------------------------- src/global_changes_httpd.erl | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/1bd25eea/src/global_changes_httpd.erl ---------------------------------------------------------------------- diff --git a/src/global_changes_httpd.erl b/src/global_changes_httpd.erl index 35572a8..9a0c467 100644 --- a/src/global_changes_httpd.erl +++ b/src/global_changes_httpd.erl @@ -229,6 +229,8 @@ parse_global_changes_query(Req) -> [{limit, to_non_neg_int(Value)} | Args]; {"heartbeat", "true"} -> [{heartbeat, true} | Args]; + {"heartbeat", "false"} -> + Args; {"heartbeat", _} -> [{heartbeat, to_non_neg_int(Value)} | Args]; {"timeout", _} ->
