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:
=
複製
已複製
安裝:
=
Runtime 相依性套件 (1):
resque
>= 0