couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couchdb-cassim git commit: Handle waiting_for_updates in callback
Date Mon, 27 Jul 2015 12:11:08 GMT
Repository: couchdb-cassim
Updated Branches:
  refs/heads/master 552f480fb -> 1ae21f7c4


Handle waiting_for_updates in callback

COUCHDB-2724


Project: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/commit/1ae21f7c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/tree/1ae21f7c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/diff/1ae21f7c

Branch: refs/heads/master
Commit: 1ae21f7c415acf3d1aba8b4924ca3093014b86b1
Parents: 552f480
Author: Robert Newson <rnewson@apache.org>
Authored: Mon Jul 27 13:09:38 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Mon Jul 27 13:09:38 2015 +0100

----------------------------------------------------------------------
 src/cassim_metadata_cache.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/1ae21f7c/src/cassim_metadata_cache.erl
----------------------------------------------------------------------
diff --git a/src/cassim_metadata_cache.erl b/src/cassim_metadata_cache.erl
index 920f748..ceb6c9e 100644
--- a/src/cassim_metadata_cache.erl
+++ b/src/cassim_metadata_cache.erl
@@ -162,6 +162,8 @@ listen_for_changes(Since) ->
     fabric:changes(DbName, fun changes_callback/2, Since, Args).
 
 
+changes_callback(waiting_for_updates, Acc) ->
+    {ok, Acc};
 changes_callback(start, Since) ->
     {ok, Since};
 changes_callback({stop, EndSeq}, _) ->


Mime
View raw message