Permalink
Browse files

Merge pull request #43 from cloudant/13480-chunked-attachment-timeouts

BugzID: 13480
  • Loading branch information...
2 parents 8a6e6fe + 483fb33 commit 32e901672ce4e69bf76cbc5a7bd8b4be147279f6 @kocolosk kocolosk committed Apr 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/fabric_doc_attachments.erl
@@ -67,6 +67,8 @@ write_chunks(MiddleMan, ChunkFun) ->
{MiddleMan, ChunkRecord} ->
ChunkFun(ChunkRecord, ok),
write_chunks(MiddleMan, ChunkFun)
+ after 600000 ->
+ exit(timeout)
end.
receive_unchunked_attachment(_Req, 0) ->

0 comments on commit 32e9016

Please sign in to comment.