Sha256: ec690760750b9392aecd2aef7079f65d0865b9123dcd75fea6b3f3ac22ec15d9

Contents?: true

Size: 192 Bytes

Versions: 1

Compression:

Stored size: 192 Bytes

Contents

class QueueWorkerWithFilterMethod < QueueWorker
  sidekiq_options unique: true, unique_args: :args_filter, unique_lock: :until_executed

  def self.args_filter(*args)
    args.first
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-4.0.0 spec/workers/queue_worker_with_filter_method.rb