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,325 of 196,658
Downloads: 1,440,881
Daily
Ranking: 6,308 of 196,619
Downloads: 207
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 23,529 | 69,423 | activejob-lock |
| 54,900 | 21,282 | spree_batch_capture |
| 82,857 | 11,759 | km-db |
| 146,737 | 4,247 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |