RubyGems.org

resque-loner

0.1.3

Makes sure that for special jobs, there can be only one job with the same workload in one queue. Example: class CacheSweeper < Resque::Plugins::Loner::UniqueJob @queue = :cache_sweeps def self.perform(article_id) # Cache Me If You Can... end end

installgem install resque-loner -v 0.1.3
Authors

Jannis Hermanns

70,226 total downloads 5,324 for this version
Owners

6f554087d938207f6cc3f413be1aee11

Gemfile
gem "resque-loner", "~> 0.1.3"
Versions
  1. 1.2.1 April 27, 2012
  2. 1.2.0 January 11, 2012
  3. 1.0.1 July 14, 2011
  4. 0.1.3 November 18, 2010
  5. 0.1.2 August 2, 2010
Show all versions (7 total)
Runtime Dependencies
  1. resque ~> 1.0
Development Dependencies
  1. rspec >= 0