mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Push a job to fill queue so we can delete it in UI
This commit is contained in:
parent
847438bd68
commit
d9776cd330
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue