Sha256: 3324d9fd9a54cceb2dbdfb95c0abf55ed6ab090f26de7cba92a30e1ea82f3af5
Contents?: true
Size: 281 Bytes
Versions: 6
Compression:
Stored size: 281 Bytes
Contents
class SimpleWorker include Sidekiq::Worker sidekiq_options unique: :until_executed, unique_args: -> (args) { [args.first] }, queue: :default, default_expiration: 3 * 60 * 60 def perform(_some_arg) sleep 60 end end
Version data entries
6 entries across 6 versions & 1 rubygems