mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fixing spacing on reverted config.ru
This commit is contained in:
parent
aa8ac370f5
commit
963e4e95e6
1 changed files with 4 additions and 4 deletions
|
@ -6,13 +6,13 @@ end
|
|||
|
||||
#Sidekiq.redis {|conn| conn.flushdb }
|
||||
#10.times do |idx|
|
||||
#Sidekiq::Client.push('class' => 'HardWorker', 'args' => ['foo', 0.1, idx])
|
||||
#Sidekiq::Client.push('class' => 'HardWorker', 'args' => ['foo', 0.1, idx])
|
||||
#end
|
||||
|
||||
#Sidekiq.redis { |conn| conn.zadd('retry', Time.now.utc.to_f + 3000, MultiJson.encode({
|
||||
#'class' => 'HardWorker', 'args' => ['foo', 0.1, Time.now.to_f],
|
||||
#'queue' => 'default', 'error_message' => 'No such method', 'error_class' => 'NoMethodError',
|
||||
#'failed_at' => Time.now.utc, 'retry_count' => 0 })) }
|
||||
#'class' => 'HardWorker', 'args' => ['foo', 0.1, Time.now.to_f],
|
||||
#'queue' => 'default', 'error_message' => 'No such method', 'error_class' => 'NoMethodError',
|
||||
#'failed_at' => Time.now.utc, 'retry_count' => 0 })) }
|
||||
|
||||
require 'sidekiq/web'
|
||||
run Sidekiq::Web
|
||||
|
|
Loading…
Add table
Reference in a new issue