Sha256: e31fe81ea7eb9439564a5962348720d5d69775df8c9bc8a4aef31a605e131eac

Contents?: true

Size: 198 Bytes

Versions: 5

Compression:

Stored size: 198 Bytes

Contents

class NotifyWorker
  include Sidekiq::Worker

  sidekiq_options queue: :notify_worker,
                  unique: :until_executed

  def perform(id, _blob)
    puts "NotifyWorker -- #{id}"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-4.0.17 spec/jobs/notify_worker.rb
sidekiq-unique-jobs-4.0.16 spec/jobs/notify_worker.rb
sidekiq-unique-jobs-4.0.15 spec/jobs/notify_worker.rb
sidekiq-unique-jobs-4.0.13 spec/jobs/notify_worker.rb
sidekiq-unique-jobs-4.0.12 spec/jobs/notify_worker.rb