Sha256: aaa9b926020ed1c6f6b1f103e9955570de3a245d45d30f9bed009f82cb4d1e09

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

class WorkController < ApplicationController
  def duplicate_simple
    4.times { SimpleWorker.perform_async(1) }

    redirect_to '/sidekiq'
  end

  def duplicate_nested
    4.times { SpawnSimpleWorker.perform_async(1) }

    redirect_to '/sidekiq'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-4.0.18 rails_example/app/controllers/work_controller.rb