commit | 1bd25eea22d0ff6f1854a12cb9e8b0d2b42f9a53 | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Sat Apr 11 16:37:59 2015 +0100 |
committer | Robert Newson <rnewson@apache.org> | Sat Apr 11 16:37:59 2015 +0100 |
tree | 64067b87b3247f28d78d03b2479a86ebb8852162 | |
parent | a7a45633e2c331f2b6984e079dc9cfc393e80ced [diff] |
handle heartbeat=false
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 @@ [{limit, to_non_neg_int(Value)} | Args]; {"heartbeat", "true"} -> [{heartbeat, true} | Args]; + {"heartbeat", "false"} -> + Args; {"heartbeat", _} -> [{heartbeat, to_non_neg_int(Value)} | Args]; {"timeout", _} ->