RubyGems.org

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

installgem install ryansch-resque-loner
Authors

Jannis Hermanns, Ryan Schlesinger

1,931 total downloads 997 for this version
Owners

6d739413a19839739c2e903b2ce109ec

Gemfile
gem 'ryansch-resque-loner', '~> 1.0.1.2'
Versions
  1. 1.0.1.2 November 8, 2011 (23 KB)
  2. 1.0.1.1 November 4, 2011 (7 KB)
Runtime Dependencies
  1. resque ~> 1.0