Sha256: 42bc142659b4f4a083bc7102d7f6d4344c76bccf8968b1dfbc20be144af60788

Contents?: true

Size: 271 Bytes

Versions: 16

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class WhileExecutingJob
  include Sidekiq::Worker
  sidekiq_options backtrace: 10,
                  lock: :while_executing,
                  queue: :working,
                  retry: 1

  def perform(args)
    [args]
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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