couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1000006 - /couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl
Date Wed, 22 Sep 2010 14:49:05 GMT
Author: fdmanana
Date: Wed Sep 22 14:49:04 2010
New Revision: 1000006

URL: http://svn.apache.org/viewvc?rev=1000006&view=rev
Log:
New replicator: remove infinite timeout when listening for remote _changes

Modified:
    couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl

Modified: couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl?rev=1000006&r1=1000005&r2=1000006&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl Wed Sep 22 14:49:04 2010
@@ -308,7 +308,7 @@ changes_since(#httpdb{} = HttpDb, Style,
         [{"style", atom_to_list(Style)}, {"since", integer_to_list(StartSeq)}],
         Options),
     send_req(
-        HttpDb#httpdb{timeout = infinity},
+        HttpDb,
         [{path, "_changes"}, {qs, QArgs},
             {ibrowse_options, [{stream_to, {self(), once}}]}],
         fun(200, _, DataStreamFun) ->



Mime
View raw message