Makes sure that for special jobs, there can be only one job with the same workload in one queue. Example: class CacheSweeper include Resque::Plugins::UniqueJob @queue = :cache_sweeps def self.perform(article_id) # Cache Me If You Can... end end
Required Ruby Version
>= 0
Authors
Jannis Hermanns
Versions
- 1.3.0 March 24, 2014 (29 KB)
- 1.2.1 April 27, 2012 (23.5 KB)
- 1.2.0 January 11, 2012 (23.5 KB)
- 1.0.1 July 15, 2011 (7.5 KB)
- 0.1.3 November 19, 2010 (7 KB)