Sha256: 58961ab42cbc7d331921e85aab0e38090ce1b77be8c751f84cfa3c4f68bf3d32

Contents?: true

Size: 237 Bytes

Versions: 16

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class WhileExecutingRejectJob
  include Sidekiq::Worker
  sidekiq_options lock: :while_executing_reject,
                  queue: :rejecting

  def perform(args)
    sleep 5
    p args
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.13 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.12 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.11 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.10 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.9 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.8 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.7 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.6 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.5 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.4 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.3 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.2 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.1 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.0 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.0.rc8 examples/while_executing_reject_job.rb
sidekiq-unique-jobs-6.0.0.rc7 examples/while_executing_reject_job.rb