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: 122,768 of 183,748
Downloads: 4,822

Daily

Ranking: 92,362 of 183,729
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,482,641,065bundler
10978,211,546rake
26829,404,942rspec
72452,886,910redis
150250,884,602sidekiq
86545,954,829tty-prompt
1,47920,290,487fakeredis

Owners

#GravatarHandle
1iconrompelstilchen