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,944 of 189,104
Downloads: 2,630,366
Daily
Ranking: 3,285 of 189,083
Downloads: 2,150
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 21,952 | 70,262 | ar-resque-counter-cache |
| 42,557 | 28,066 | varnish_sweeper |
| 74,562 | 12,877 | lifesaver |
| 105,339 | 7,381 | multi_worker |
| 133,067 | 4,682 | fury-bug |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | meatballhat | |
| 2 | jayniz |