Using
- ruby 1.9.3p484
- sidekiq 2.11.2
- timers 2.0.0
- rack 1.6.4
- sidekiq-status 0.6.0
bundle
bundle exec sidekiq -r ./worker.rb
bundle exec irb -r ./worker.rb
You can then start workers as follows:
job_id = Worker.perform_async "hard"
Sidekiq::Status::total job_id
Sidekiq::Status::get job_id, :result