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
None
Authors
Jannis Hermanns, Ryan Schlesinger
Versions
-
1.0.1.2
-
source
- 1.0.1.2 source November 08, 2011 (23 KB)
-
-
1.0.1.1
-
source
- 1.0.1.1 source November 04, 2011 (7 KB)
-