Categories: None [Edit]
resque-loner
Makes sure that for special jobs, there can be only one job with the same
workload in one queue.
Example:
class CacheSweeper
include Resque::Plugins::UniqueJob
@queue = :cache_sweeps
def self.perform(article_id)
# Cache Me If You Can...
end
end
Total
Ranking: 3,922 of 188,277
Downloads: 2,591,284
Daily
Ranking: 3,205 of 188,252
Downloads: 2,128
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 21,830 | 69,897 | ar-resque-counter-cache |
| 42,283 | 27,967 | varnish_sweeper |
| 74,246 | 12,818 | lifesaver |
| 105,726 | 7,240 | multi_worker |
| 133,091 | 4,630 | fury-bug |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | meatballhat | |
| 2 | jayniz |