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,279 of 188,277
Downloads: 1,247,426
Daily
Ranking: 5,595 of 188,252
Downloads: 547
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 22,051 | 68,899 | activejob-lock |
| 53,362 | 20,426 | spree_batch_capture |
| 81,215 | 11,211 | km-db |
| 145,918 | 3,934 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |