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,318 of 197,258
Downloads: 1,458,793
Daily
Ranking: 4,181 of 197,235
Downloads: 842
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 23,628 | 69,443 | activejob-lock |
| 55,150 | 21,311 | spree_batch_capture |
| 83,236 | 11,783 | km-db |
| 147,248 | 4,254 | resque-single |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | defunkt |