RubyGems.org

A Resque plugin. If you want only one instance of your job running 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 -v 0.1.2
Authors

Chris Wanstrath, Jason Adams

3,169 total downloads 1,880 for this version
Owners

Ebec6abd2b9f1eb4de865aed01242171

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