Categories: None [Edit]
    resque-lonely_job
Ensures that for a given queue, only one worker is working on a job at any given time.
Example:
  require 'resque/plugins/lonely_job'
  class StrictlySerialJob
    extend Resque::Plugins::LonelyJob
    @queue = :serial_work
    def self.perform
      # only one at a time in this block, no parallelism allowed for this
      # particular queue
    end
  end
    Total
Ranking: 9,819 of 187,571
          Downloads: 300,455
        Daily
Ranking: 13,073 of 187,548
          Downloads: 52
        Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name | 
|---|---|---|
| 49,348 | 22,419 | serially | 
Depends on
| Rank | Downloads | Name | 
|---|---|---|
| 10 | 1,165,196,519 | rake | 
| 28 | 924,848,930 | rspec | 
| 193 | 239,565,314 | timecop | 
| 936 | 48,948,137 | resque | 
| 998 | 45,484,236 | mock_redis | 
 xmisao
xmisao