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: 21,626 of 180,392
Downloads: 58,928
Daily
Ranking: 10,991 of 180,379
Downloads: 62
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
30,675 | 36,212 | resque-unique_by_arity |
Depends on
Rank | Downloads | Name |
---|---|---|
16 | 850,588,273 | rake |
23 | 766,393,908 | rspec |
63 | 421,245,138 | pry |
68 | 412,241,188 | rubocop |
94 | 320,565,788 | byebug |
170 | 191,766,780 | timecop |
171 | 191,300,814 | pry-byebug |
202 | 154,155,827 | rubocop-rspec |
254 | 123,952,402 | colorize |
832 | 41,705,876 | resque |
1,412 | 17,974,732 | fakeredis |
13,250 | 128,372 | rspec-stubbed_env |
29,752 | 37,669 | rspec-block_is_expected |
Owners
# | Gravatar | Handle |
---|---|---|
1 | pboling |