lib/refinery/queueable.rb in refinery-0.10.3 vs lib/refinery/queueable.rb in refinery-0.10.4
- old
+ new
@@ -13,9 +13,10 @@
def with_queue(name, &block)
begin
yield queue(name)
rescue Exception => e
logger.error "An error occurred when communicating with queue #{name}: #{e}"
+ sleep(30)
end
end
protected
# Get the queue provider. Defaults to RightAws::SqsGen2 running
\ No newline at end of file