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:
=
Copy to clipboard
Copied!
install:
=
Runtime Dependencies (1):
resque
>= 0