RubyGems.org

resque-loner

1.3.0

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

Jannis Hermanns

157,272 total downloads 15,552 for this version
Owners

6f554087d938207f6cc3f413be1aee119c0d0b4d099eea3e6cd9d0e205b6a83e

Licenses

MIT

Gemfile
gem 'resque-loner', '~> 1.3.0'
Versions
  1. 1.3.0 March 24, 2014 (29 KB)
  2. 1.2.1 April 27, 2012 (23.5 KB)
  3. 1.2.0 January 11, 2012 (23.5 KB)
  4. 1.0.1 July 14, 2011 (7.5 KB)
  5. 0.1.3 November 18, 2010 (7 KB)
Show all versions (8 total)
Runtime Dependencies
  1. resque ~> 1.0
Ruby Dependency
  1. >= 0