module SidekiqBulkJob::BatchRunner::ClassMethods
Public Instance Methods
batch_perform_async(*args)
click to toggle source
批量异步执行
# File lib/sidekiq_bulk_job/batch_runner.rb, line 13 def batch_perform_async(*args) SidekiqBulkJob.set(sidekiq_options).perform_async(self, *args) end
batch_perform_in(interval, *args)
click to toggle source
批量延后一段时间执行
# File lib/sidekiq_bulk_job/batch_runner.rb, line 18 def batch_perform_in(interval, *args) SidekiqBulkJob.set(sidekiq_options).perform_in(interval, self, *args) end
Also aliased as: batch_perform_at