# File lib/sidekiq/limit_fetch/global/monitor.rb, line 10 def start!(ttl=HEARTBEAT_TTL, timeout=REFRESH_TIMEOUT) Thread.new do loop do Sidekiq::LimitFetch.redis_retryable do add_dynamic_queues update_heartbeat ttl invalidate_old_processes end sleep timeout end end end