Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 32196 invoked from network); 22 Sep 2010 14:49:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 14:49:29 -0000 Received: (qmail 71022 invoked by uid 500); 22 Sep 2010 14:49:29 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 70905 invoked by uid 500); 22 Sep 2010 14:49:26 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 70898 invoked by uid 99); 22 Sep 2010 14:49:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 14:49:25 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 14:49:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 234FE2388B1B; Wed, 22 Sep 2010 14:49:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1000006 - /couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl Date: Wed, 22 Sep 2010 14:49:05 -0000 To: commits@couchdb.apache.org From: fdmanana@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100922144905.234FE2388B1B@eris.apache.org> 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) ->