Categories: None [Edit]

sidekiq_lockable_job

https://rubygems.org/gems/sidekiq_lockable_job
https://github.com/huguesbr/sidekiq_lockable_job
Sidekiq includes a jobs dependencies mechanism to prevent a job from running before another one when enqueued. But sometime your jobs will be enqueued independently, then for you do not know the job id on which you depend on (you could parse Sidekiq queue, but...) `SidekiqLockableJob` allows you to set some locks ( based on job params ) when a job is enqueued or processed (store in redis), to prevent any other jobs to run if locked ( based on job params ) and will unlock any previously set locks ( based on job params ) when a job is **succesfully** completed.

Total

Ranking: 123,992 of 191,516
Downloads: 5,390

Daily

Ranking: 66,602 of 191,482
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,297,533,420bundler
81,275,394,320rake
29965,047,795rspec
80545,371,856redis
158308,210,910sidekiq
70180,181,805tty-prompt
1,56723,896,230fakeredis

Owners

#GravatarHandle
1iconrompelstilchen