Skip to content

wedesoft/ruby-background-job

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Sidekiq example

Using

  • ruby 1.9.3p484
  • sidekiq 2.11.2
  • timers 2.0.0
  • rack 1.6.4
  • sidekiq-status 0.6.0

Installation

bundle

Start workers

bundle exec sidekiq -r ./worker.rb

Start clients

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

External links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages