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,196 of 197,085
Downloads: 117,113
Daily
Ranking: 19,775 of 197,066
Downloads: 11
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 31,096 | 46,430 | resque-unique_by_arity |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,428,256,062 | rake |
| 29 | 1,025,379,194 | rspec |
| 54 | 754,467,489 | ruby-progressbar |
| 204 | 274,324,105 | timecop |
| 356 | 147,104,344 | bundler-audit |
| 954 | 55,004,247 | resque |
| 1,604 | 25,346,011 | fakeredis |
| 2,669 | 7,843,082 | anonymous_loader |
| 8,314 | 536,495 | rspec-block_is_expected |
| 8,475 | 513,669 | rspec-stubbed_env |
| 11,904 | 243,185 | appraisal2 |
| 12,278 | 227,858 | kettle-dev |
| 12,849 | 206,221 | turbo_tests2 |
| 14,287 | 166,926 | require_bench |
| 14,766 | 156,673 | stone_checksums |
| 15,350 | 145,331 | kettle-test |
| 15,574 | 141,326 | gitmoji-regex |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pboling |