Sha256: 607a1cc4de191bb2d37858ad793dd9c9296ee1cbc2d4d6bb240adf903bea71fe

Contents?: true

Size: 202 Bytes

Versions: 8

Compression:

Stored size: 202 Bytes

Contents

class WorkController < ApplicationController
  def duplicate
    SimpleWorker.perform_async(1)
    4.times do |_x|
      SpawnSimpleWorker.perform_async(1)
    end

    redirect_to '/sidekiq'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-4.0.17 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.16 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.15 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.13 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.12 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.11 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.10 rails_example/app/controllers/work_controller.rb
sidekiq-unique-jobs-4.0.9 rails_example/app/controllers/work_controller.rb