RubyGems Navigation menu

sidekiq_lockable_job 0.1.0

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:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.1.2 - April 26, 2020 (16.0 KB)
  2. 0.1.1 - April 20, 2020 (14.0 KB)
  3. 0.1.0 - April 20, 2020 (12.0 KB)

Runtime 相依性套件 (2):

redis = 4.0.1
sidekiq = 5.0.5

Development 相依性套件 (4):

bundler ~> 2.0
fakeredis = 0.7.0
rake ~> 12.3.3
rspec ~> 3.0

擁有者:

推送者:

作者:

  • Hugues Bernet-Rollande

SHA 256 總和檢查碼:

dc189607593317e8f988ccbbb83c569a0157bd332c797e826ee070e11cd949cd

總下載次數 4,608

這個版本 1,372

授權:

MIT

Ruby 版本需求: >= 0

相關連結: