lib/sidekiq/grouping/actor.rb in sidekiq-grouping-0.0.6 vs lib/sidekiq/grouping/actor.rb in sidekiq-grouping-1.0.1
- old
+ new
@@ -7,9 +7,10 @@
def initialize
link_to_sidekiq_manager
end
private
+
def start_polling
interval = Sidekiq::Grouping::Config.poll_interval
info "Start polling of queue batches every #{interval} seconds"
every(interval) { flush_batches }
end