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 nogara-resque-loner
Authors

Jannis Hermanns

903 total downloads 903 for this version
Owners

735c157b8ffd20b7de11f6d0ae588734

Gemfile
gem 'nogara-resque-loner', '~> 1.2.1'
Versions
  1. 1.2.1 August 13, 2012 (23.5 KB)
Runtime Dependencies
  1. resque ~> 1.0