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,906 of 187,591
Downloads: 2,544,858
Daily
Ranking: 4,596 of 187,571
Downloads: 466
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 21,689 | 69,448 | ar-resque-counter-cache |
| 42,064 | 27,808 | varnish_sweeper |
| 74,090 | 12,692 | lifesaver |
| 105,837 | 7,117 | multi_worker |
| 132,942 | 4,571 | fury-bug |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | meatballhat | |
| 2 | jayniz |