This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

handle attachment conflicts in bin/make

  • Loading branch information...
1 parent 5f558b6 commit ddbf0b5bb14c2d54e440c952e4c6213e2f001e3b @ddollar ddollar committed Jan 14, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 server/bin/make
View
@@ -35,12 +35,10 @@ Dir.mktmpdir do |dir|
%x{ tar czf #{dir}/output.tgz * 2>&1 }
end
- retries = 0
begin
doc.put_attachment("output", File.open("#{dir}/output.tgz"))
rescue RestClient::Conflict
- retries += 1
- retry if retries < 3
+ # temporarily work around problem with bigcouch
end
end

0 comments on commit ddbf0b5

Please sign in to comment.