diff options
author | Jan Lehnardt <jan@apache.org> | 2010-02-28 02:41:05 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-02-28 02:41:05 +0000 |
commit | 5a9f96cf2646a0c9db468cd7876e75cdb9fda742 (patch) | |
tree | aca872035e7c6c5191c026dee592e1d5104432ac /src/couchdb/couch_changes.erl | |
parent | 64572be3b4b5e186013213bc2adf883d26d8f729 (diff) |
Apply fixes for COUCHDB-597 patch.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_changes.erl')
-rw-r--r-- | src/couchdb/couch_changes.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_changes.erl b/src/couchdb/couch_changes.erl index 7a9dcd93..35ea147f 100644 --- a/src/couchdb/couch_changes.erl +++ b/src/couchdb/couch_changes.erl @@ -117,6 +117,8 @@ get_changes_timeout(Args, Callback) -> case Timeout of undefined -> {DefaultTimeout, fun() -> stop end}; + infinity -> + {infinity, fun() -> stop end}; _ -> {lists:min([DefaultTimeout, Timeout]), fun() -> stop end} end; |