couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [20/50] fabric commit: updated refs/heads/windsor-merge-121 to 79e6e2f
Date Fri, 01 Aug 2014 09:12:08 GMT
Upgrade continuous changes feeds to new code

BugzID: 23154


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/2f1db98b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/2f1db98b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/2f1db98b

Branch: refs/heads/windsor-merge-121
Commit: 2f1db98b84040ffc3c9fdb5bf494af8b7ef51538
Parents: 5d00748
Author: Robert Newson <robert.newson@cloudant.com>
Authored: Tue Sep 17 23:33:30 2013 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Jul 31 11:13:34 2014 +0100

----------------------------------------------------------------------
 src/fabric_view_changes.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/2f1db98b/src/fabric_view_changes.erl
----------------------------------------------------------------------
diff --git a/src/fabric_view_changes.erl b/src/fabric_view_changes.erl
index a6c468e..dff9d4a 100644
--- a/src/fabric_view_changes.erl
+++ b/src/fabric_view_changes.erl
@@ -14,6 +14,9 @@
 
 -export([go/5, pack_seqs/1, unpack_seqs/2]).
 
+%% exported for upgrade purposes.
+-export([keep_sending_changes/8]).
+
 -include_lib("fabric/include/fabric.hrl").
 -include_lib("mem3/include/mem3.hrl").
 -include_lib("couch/include/couch_db.hrl").
@@ -96,7 +99,7 @@ keep_sending_changes(DbName, Args, Callback, Seqs, AccIn, Timeout, UpListen,
T0)
             Callback({stop, LastSeq}, AccOut);
         _ ->
             {ok, AccTimeout} = Callback(timeout, AccOut),
-            keep_sending_changes(
+            ?MODULE:keep_sending_changes(
                 DbName,
                 Args#changes_args{limit=Limit2},
                 Callback,


Mime
View raw message