RubyGems.org

resque-lock

1.1.0

A Resque plugin. If you want only one instance of your job queued at a time, extend it with this module. For example: class UpdateNetworkGraph extend Resque::Jobs::Locked def self.perform(repo_id) heavy_lifting end end

installgem install resque-lock
Authors

Chris Wanstrath, Ray Krueger

115,163 total downloads 52,513 for this version
Owners

B8dbb1987e8e5318584865f880036796

Gemfile
gem 'resque-lock', '~> 1.1.0'
Versions
  1. 1.1.0 November 8, 2012 (6 KB)
  2. 1.0.0 August 18, 2011 (5.5 KB)
  3. 0.1.1 April 1, 2010 (5.5 KB)
  4. 0.1.0 April 1, 2010 (5.5 KB)