Categories: None [Edit]
nogara-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: 137,074 of 187,591
Downloads: 4,349
Daily
Ranking: 130,231 of 187,571
Downloads: 5
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | nogara |