1
0
Fork 0
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:
Mike Perham 2015-11-23 09:39:14 -08:00
parent 847438bd68
commit d9776cd330

View file

@ -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