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: 134,082 of 183,477
Downloads: 4,142
Daily
Ranking: 63,432 of 183,470
Downloads: 0
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 |