Categories: None [Edit]
resque-unique_at_runtime
Ensures that for a given queue, only one worker is working on a job at any given time.
Example:
require 'resque/plugins/unique_at_runtime'
class StrictlySerialJob
include Resque::Plugins::UniqueAtRuntime
@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: 17,127 of 197,725
Downloads: 118,810
Daily
Ranking: 9,206 of 197,575
Downloads: 175
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 31,131 | 46,590 | resque-unique_by_arity |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,443,254,302 | rake |
| 29 | 1,031,433,167 | rspec |
| 54 | 763,301,908 | ruby-progressbar |
| 204 | 276,495,160 | timecop |
| 355 | 149,792,172 | bundler-audit |
| 954 | 55,340,868 | resque |
| 1,609 | 25,461,676 | fakeredis |
| 2,382 | 9,859,737 | anonymous_loader |
| 8,274 | 548,697 | rspec-block_is_expected |
| 8,376 | 532,554 | rspec-stubbed_env |
| 11,521 | 260,460 | appraisal2 |
| 11,688 | 254,393 | kettle-dev |
| 11,714 | 253,189 | turbo_tests2 |
| 13,851 | 178,545 | require_bench |
| 14,275 | 168,366 | stone_checksums |
| 14,399 | 165,609 | kettle-test |
| 14,955 | 154,002 | gitmoji-regex |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pboling |