server/bin/make in vulcan-0.2.5 vs server/bin/make in vulcan-0.3.0

- old
+ new

@@ -33,13 +33,15 @@ Dir.chdir(prefix) do %x{ tar czf #{dir}/output.tgz * 2>&1 } end + retries = 0 begin doc.put_attachment("output", File.open("#{dir}/output.tgz")) rescue RestClient::Conflict - # temporarily work around problem with bigcouch + retries += 1 + retry if retries < 3 end end end