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: 125,479 of 196,180
Downloads: 5,562

Daily

Ranking: 78,819 of 196,149
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,673,342,878bundler
81,396,057,225rake
291,011,463,196rspec
83577,555,161redis
157332,186,597sidekiq
61789,740,164tty-prompt
1,59025,052,233fakeredis

Owners

#GravatarHandle
1iconrompelstilchen