Categories: None [Edit]
ryansch-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: 99,997 of 183,638
Downloads: 7,306
Daily
Ranking: 54,457 of 183,630
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 | ryansch |