Sha256: 563a2740cf784f4c199e867fc74fe4328f18b83db8b84e2fd3b9b83f12b23500
Contents?: true
Size: 198 Bytes
Versions: 1
Compression:
Stored size: 198 Bytes
Contents
class WorkController < ApplicationController def index @count = rand(100) puts "Adding #{@count} jobs" @count.times do |x| HardWorker.perform_async('bubba', x) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-0.6.0 | myapp/app/controllers/work_controller.rb |