couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r806918 - /couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl
Date Sun, 23 Aug 2009 01:45:48 GMT
Author: kocolosk
Date: Sun Aug 23 01:45:48 2009
New Revision: 806918

URL: http://svn.apache.org/viewvc?rev=806918&view=rev
Log:
heartbeat bugfix for continuous replication from remote source

Modified:
    couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl

Modified: couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl?rev=806918&r1=806917&r2=806918&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl Sun Aug 23 01:45:48 2009
@@ -199,6 +199,7 @@
     {stop, {error, Reason}, State};
 handle_response(<<"\n">>, State) ->
     ?LOG_DEBUG("got a heartbeat from the remote server", []),
+    ok = maybe_stream_next(State),
     {noreply, State};
 handle_response(<<"{\"results\":[\n">>, State) ->
     ok = maybe_stream_next(State),



Mime
View raw message