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,038 of 198,430
Downloads: 121,186
Daily
Ranking: 9,518 of 198,401
Downloads: 168
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 31,236 | 46,715 | resque-unique_by_arity |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,462,600,952 | rake |
| 29 | 1,040,144,401 | rspec |
| 54 | 775,305,133 | ruby-progressbar |
| 207 | 279,508,957 | timecop |
| 355 | 153,688,529 | bundler-audit |
| 957 | 55,796,045 | resque |
| 1,619 | 25,615,177 | fakeredis |
| 2,206 | 12,357,676 | anonymous_loader |
| 8,230 | 563,809 | rspec-block_is_expected |
| 8,305 | 551,932 | rspec-stubbed_env |
| 10,958 | 296,102 | turbo_tests2 |
| 11,115 | 286,742 | appraisal2 |
| 11,191 | 282,380 | kettle-dev |
| 13,388 | 192,954 | require_bench |
| 13,665 | 185,769 | kettle-test |
| 13,706 | 184,327 | stone_checksums |
| 14,333 | 169,018 | gitmoji-regex |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pboling |