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,345 of 195,762
Downloads: 1,402,711
Daily
Ranking: 5,485 of 195,747
Downloads: 493
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 23,363 | 69,353 | activejob-lock |
| 54,630 | 21,230 | spree_batch_capture |
| 82,580 | 11,715 | km-db |
| 145,947 | 4,232 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |