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,300 of 196,739
Downloads: 114,918
Daily
Ranking: 7,729 of 196,700
Downloads: 272
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 30,994 | 46,252 | resque-unique_by_arity |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,409,078,892 | rake |
| 29 | 1,017,300,652 | rspec |
| 55 | 743,300,520 | ruby-progressbar |
| 200 | 271,715,318 | timecop |
| 359 | 143,836,411 | bundler-audit |
| 955 | 54,561,818 | resque |
| 1,597 | 25,171,283 | fakeredis |
| 3,199 | 5,123,684 | anonymous_loader |
| 8,396 | 517,147 | rspec-block_is_expected |
| 8,604 | 488,765 | rspec-stubbed_env |
| 12,604 | 212,543 | appraisal2 |
| 13,154 | 194,569 | kettle-dev |
| 15,010 | 149,690 | require_bench |
| 15,758 | 136,760 | stone_checksums |
| 16,540 | 124,517 | turbo_tests2 |
| 16,749 | 121,611 | kettle-test |
| 16,859 | 120,277 | gitmoji-regex |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pboling |