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,869 of 184,827
Downloads: 4,900

Daily

Ranking: 44,558 of 184,813
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,634,828,877bundler
101,026,916,572rake
26855,804,557rspec
73471,368,422redis
152261,473,637sidekiq
82354,072,915tty-prompt
1,50820,997,047fakeredis

Owners

#GravatarHandle
1iconrompelstilchen