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: 20,164 of 183,856
Downloads: 70,938
Daily
Ranking: 11,506 of 183,848
Downloads: 24
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
30,523 | 39,225 | resque-unique_by_arity |
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 983,600,918 | rake |
26 | 832,135,962 | rspec |
62 | 493,754,578 | rubocop |
68 | 479,830,380 | pry |
94 | 366,793,280 | byebug |
169 | 221,211,059 | pry-byebug |
177 | 214,314,611 | timecop |
195 | 192,022,179 | rubocop-rspec |
273 | 137,612,076 | colorize |
889 | 44,927,477 | resque |
1,481 | 20,375,523 | fakeredis |
12,356 | 164,880 | rspec-stubbed_env |
24,239 | 54,136 | rspec-block_is_expected |
Owners
# | Gravatar | Handle |
---|---|---|
1 | pboling |