Sha256: 05946106e0125666276f621bd30332c178622ba624366efaa9aa3a2c0555ee0c
Contents?: true
Size: 277 Bytes
Versions: 1
Compression:
Stored size: 277 Bytes
Contents
class SimpleWorker include Sidekiq::Worker sidekiq_options unique: :until_executed, queue: :default, unique_args: (lambda do |args| [args.first] end) def perform(_some_args) sleep 1 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-4.0.18 | rails_example/app/workers/simple_worker.rb |