RubyGems Navigation menu

sidekiq_lockable_job 0.1.2

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.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.2 - April 26, 2020 (16 ko)
  2. 0.1.1 - April 20, 2020 (14 ko)
  3. 0.1.0 - April 20, 2020 (12 ko)

Dépendances de Runtime (2):

redis = 4.0.1
sidekiq = 5.0.5

Dépendances de Development (5):

bundler ~> 2.0
fakeredis = 0.7.0
rake ~> 12.3.3
rspec ~> 3.0
tty-prompt = 0.19.0

Propriétaires:

Pushed by:

Auteurs:

  • Hugues Bernet-Rollande

Total de contrôle SHA 256:

faf9c6faaf069df41e5ea8edfef2ac566c1378a41796501b59fdc7196ea4e634

Total de téléchargements 4 556

Pour cette version 1 806

License:

MIT

Version de Ruby requise: >= 0

Liens: