Registry / messaging / resque-lock

resque-lock

JSON →
library1.1.0rbrubygemsunverified

A Resque plugin that ensures only one instance of a job is queued at a time.

gem install resque-lock
INSTALL
IMPORT
SIG · RESQUE-LOCK
R
resque-lock
messagingrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Resque::Plugins::Locked
require 'resque-lock'

Define a job that will only be queued once at a time.

require 'resque-lock' class UpdateNetworkGraph extend Resque::Jobs::Locked def self.perform(repo_id) # heavy lifting end end Resque.enqueue(UpdateNetworkGraph, 1)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
resque-lock — gem install resque-lock · libregistry