Categories: None [Edit]
resque-lock
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
Total
Ranking: 5,335 of 196,338
Downloads: 1,422,688
Daily
Ranking: 4,074 of 196,320
Downloads: 474
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 23,445 | 69,393 | activejob-lock |
| 54,778 | 21,255 | spree_batch_capture |
| 82,754 | 11,733 | km-db |
| 146,322 | 4,240 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |