RubyGems Navigation menu

resque-workers-lock 1.0.0

A Resque plugin. If you want to prevent specific jobs to be processed simultaneously, extend it with this module. It locks on the first argument in the perform method. For example: class Scraper extend Resque::Plugins::Workers::Lock def self.lock(domain) return domain end def self.perform(domain) # do the work end end

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 3.0.0 - February 14, 2024 (8.5 KB)
  2. 2.0.1 - February 19, 2016 (8.5 KB)
  3. 2.0.0 - May 30, 2014 (8.5 KB)
  4. 1.9 - May 27, 2013 (7.0 KB)
  5. 1.8 - February 04, 2013 (7.0 KB)
  6. 1.0.0 - July 23, 2012 (6.0 KB)
显示所有版本 (共 21 个)

Runtime 依赖 (1):

resque >= 0

Development 依赖 (2):

rake >= 0
turn >= 0

业主:

作者:

  • Bart Olsthoorn

SHA 256 校验和:

a07e3824684ce4cc3c934c93c6faf3bf72283818577b2bd9a1266156b0922462

下载总量 1,770,918

这个版本 2,855

许可:

需要的 Ruby 版本:

链接: