module SidekiqBulkJob::BatchRunner::Setter

Public Instance Methods

batch_perform_async(*args) click to toggle source
# File lib/sidekiq_bulk_job/batch_runner.rb, line 27
def batch_perform_async(*args)
  SidekiqBulkJob.set(@opts).perform_async(@klass, *args)
end
batch_perform_at(interval, *args)
Alias for: batch_perform_in
batch_perform_in(interval, *args) click to toggle source

批量确定时间异步执行

# File lib/sidekiq_bulk_job/batch_runner.rb, line 32
def batch_perform_in(interval, *args)
  SidekiqBulkJob.set(@opts).perform_at(interval, @klass, *args)
end
Also aliased as: batch_perform_at