Registry / messaging / resque-lock-timeout

resque-lock-timeout

JSON →
library0.4.5rbrubygemsunverified

A Resque plugin that adds locking with optional timeout and deadlock handling to jobs.

gem install resque-lock-timeout
INSTALL
IMPORT
SIG · RESQUE-LOCK-TIMEOU
R
resque-lock-timeout
messagingrubyv0.4.5
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
require 'resque-lock-timeout'

Define a Resque job with lock timeout.

require 'resque-lock-timeout' class MyJob extend Resque::Plugins::LockTimeout @queue = :my_queue def self.perform(*args) # job logic end end
Debug
Known issues
gotchaLock timeout may cause jobs to be skipped if not handled properly.
fix
Ensure your job logic can handle being skipped or re-queued.
affects: >= 0.4.0
Upgrade
Version history
0.4.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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