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,280 of 188,339
Downloads: 1,248,692
Daily
Ranking: 5,247 of 188,315
Downloads: 630
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 22,064 | 68,904 | activejob-lock |
| 53,375 | 20,434 | spree_batch_capture |
| 81,232 | 11,214 | km-db |
| 145,911 | 3,937 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |