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,313 of 198,025
Downloads: 1,483,232
Daily
Ranking: 4,138 of 197,989
Downloads: 1,585
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 23,743 | 69,463 | activejob-lock |
| 55,325 | 21,330 | spree_batch_capture |
| 83,402 | 11,803 | km-db |
| 147,521 | 4,264 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |