RubyGems Navigation menu

ealdent-resque-lock 1.0.0

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

Versions:

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

Authors:

  • Chris Wanstrath, Ray Krueger, Jason Adams

Owners:

Ebec6abd2b9f1eb4de865aed01242171

Total downloads 3,285

For this version 1,336

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'ealdent-resque-lock', '~> 1.0.0' = Copy to clipboard Copied!

install:
gem install ealdent-resque-lock = Copy to clipboard Copied!

Links: