lib/insque.rb in insque-0.3.5 vs lib/insque.rb in insque-0.4.0
- old
+ new
@@ -90,10 +90,10 @@
restart.each {|m| log "RESTART: #{m.to_json}" }
log "CLEANING SUCCESSFULL"
else
log "CLEANING FAILED"
end
- sleep(Random.rand * 10)
+ sleep(Random.rand * 300)
end
end
private
def self.log message