RubyGems.org

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

installgem install ealdent-resque-lock
Authors

Chris Wanstrath, Ray Krueger, Jason Adams

3,089 total downloads 1,247 for this version
Owners

Ebec6abd2b9f1eb4de865aed01242171

Gemfile
gem 'ealdent-resque-lock', '~> 1.0.0'
Versions
  1. 1.0.0 November 17, 2011 (5.5 KB)
  2. 0.1.2 October 14, 2010 (5.5 KB)