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,276 of 187,967
Downloads: 1,240,762
Daily
Ranking: 6,440 of 187,960
Downloads: 209
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 21,956 | 68,856 | activejob-lock |
| 53,266 | 20,339 | spree_batch_capture |
| 81,166 | 11,147 | km-db |
| 146,033 | 3,902 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |