resque-lock 1.2.0
Install from the command line:
Learn more about RubyGems packages
$ gem install resque-lock --version "1.2.0"
Install via Gemfile:
source "https://rubygems.pkg.github.com/hoverinc" do
gem "resque-lock", "1.2.0"
end
About this version
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
Details
- resque-lock
- hoverinc
- about 3 years ago
Assets
- resque-lock-1.2.0-rubygems.gem
Download activity
- Total downloads 6,109
- Last 30 days 0
- Last week 0
- Today 0