# File lib/resque_ui/overrides/resque/resque.rb, line 2 def self.throttle(queue, limit = 10000, sleep_for = 60) loop do break if Resque.size(queue.to_s) < limit sleep sleep_for end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.