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,289 of 188,757
Downloads: 1,254,246
Daily
Ranking: 5,594 of 188,742
Downloads: 503
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 22,182 | 68,947 | activejob-lock |
| 53,496 | 20,505 | spree_batch_capture |
| 81,262 | 11,273 | km-db |
| 145,848 | 3,963 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |