diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2010-06-12 16:35:37 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2010-06-12 16:35:37 +0000 |
commit | c71b9fa6a197db1657aac41f8fd2994f23364d3b (patch) | |
tree | 7c241328061034c3bd59b7d7f68180b71e017cbf /src/couchdb/couch_rep_att.erl | |
parent | 9a0de9a3f3828e5269f39f688c4e50db41527e8c (diff) |
Fix hanging replication. COUCHDB-793. Thanks Filipe and Paul Bonser.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954027 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep_att.erl')
-rw-r--r-- | src/couchdb/couch_rep_att.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_att.erl b/src/couchdb/couch_rep_att.erl index be10acc8..28b8945c 100644 --- a/src/couchdb/couch_rep_att.erl +++ b/src/couchdb/couch_rep_att.erl @@ -54,7 +54,7 @@ attachment_receiver(Ref, Request) -> receive_data(Ref, ReqId, ContentEncoding) end catch - throw:{attachment_request_failed, timeout} -> + throw:{attachment_request_failed, _} -> case {Request#http_db.retries, Request#http_db.pause} of {0, _} -> ?LOG_INFO("request for ~p failed", [Request#http_db.resource]), |