Skip to content

Commit

Permalink
Push a job to fill queue so we can delete it in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Nov 23, 2015
1 parent 847438b commit d9776cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions myapp/simple.ru
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ Sidekiq.configure_client do |config|
config.redis = { url: 'redis://localhost:6379/0', size: 1, namespace: 'foo' }
end

Sidekiq::Client.push('class' => "HardWorker", 'args' => [])

require 'sidekiq/web'
run Sidekiq::Web

0 comments on commit d9776cd

Please sign in to comment.