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
Required Ruby Version
None
Authors
Bart Olsthoorn
Versions
- 3.0.0 February 14, 2024 (8.5 KB)
- 2.0.1 February 19, 2016 (8.5 KB)
- 2.0.0 May 30, 2014 (8.5 KB)
- 1.9 May 27, 2013 (7 KB)
- 1.8 February 04, 2013 (7 KB)
- 1.0.0 July 23, 2012 (6 KB)