RubyGems Navigation menu

ealdent-resque-lock 0.1.2

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

Gemfile
          gem 'ealdent-resque-lock', '~> 0.1.2'
  
  
  
  
  
  
  

install
          gem install ealdent-resque-lock -v 0.1.2
  
  
  
  
  
  
  

Authors:

  • Chris Wanstrath, Jason Adams

Owners:

Total downloads 3,257

For this version 1,927

Required Ruby Version: None

Links:

Versions:

  1. 1.0.0 - November 17, 2011 (5.5 KB)
  2. 0.1.2 - October 14, 2010 (5.5 KB)