Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 430227110 for ; Fri, 19 Aug 2011 04:52:04 +0000 (UTC) Received: (qmail 9683 invoked by uid 500); 19 Aug 2011 04:51:56 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 9550 invoked by uid 500); 19 Aug 2011 04:51:47 -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 9542 invoked by uid 99); 19 Aug 2011 04:51:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 04:51:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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; Fri, 19 Aug 2011 04:51:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C5A9F23889E3 for ; Fri, 19 Aug 2011 04:51:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1159501 - /couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl Date: Fri, 19 Aug 2011 04:51:20 -0000 To: commits@couchdb.apache.org From: fdmanana@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110819045120.C5A9F23889E3@eris.apache.org> Author: fdmanana Date: Fri Aug 19 04:51:20 2011 New Revision: 1159501 URL: http://svn.apache.org/viewvc?rev=1159501&view=rev Log: Updated changes feed connect timeout to 30 seconds This is the timeout used everywhere else. Some users are constantly unable to replicate since under some scenarios (namely via SSL) a timeout of 10 seconds is too short. This is related to a thread in the users mailing list: http://mail-archives.apache.org/mod_mbox/couchdb-user/201106.mbox/%3CBANLkTik3y-nN1uWMyNgzA_0ZSjxXdcMqQw@mail.gmail.com%3E Modified: couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl Modified: couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl?rev=1159501&r1=1159500&r2=1159501&view=diff ============================================================================== --- couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl (original) +++ couchdb/branches/1.1.x/src/couchdb/couch_rep_changes_feed.erl Fri Aug 19 04:51:20 2011 @@ -154,7 +154,7 @@ init([Parent, #http_db{headers = Headers end; {ibrowse_async_headers, ReqId, Code, _} -> {stop, {changes_error_code, list_to_integer(Code)}} - after 10000 -> + after 30000 -> {stop, changes_timeout} end;