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: 16,995 of 199,228
Downloads: 123,165
Daily
Ranking: 12,402 of 199,184
Downloads: 116
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 31,267 | 47,119 | resque-unique_by_arity |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 7 | 1,480,270,976 | rake |
| 29 | 1,048,421,257 | rspec |
| 55 | 786,416,068 | ruby-progressbar |
| 207 | 282,044,686 | timecop |
| 353 | 157,307,833 | bundler-audit |
| 959 | 56,250,472 | resque |
| 1,619 | 25,765,636 | fakeredis |
| 2,109 | 14,266,188 | anonymous_loader |
| 8,181 | 579,431 | rspec-block_is_expected |
| 8,191 | 577,856 | rspec-stubbed_env |
| 10,248 | 346,305 | turbo_tests2 |
| 10,695 | 315,827 | kettle-dev |
| 10,783 | 310,314 | appraisal2 |
| 12,838 | 212,873 | require_bench |
| 12,899 | 210,924 | kettle-test |
| 13,032 | 207,017 | stone_checksums |
| 13,515 | 191,850 | gitmoji-regex |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pboling |