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,509 of 180,488
Downloads: 59,482
Daily
Ranking: 9,287 of 180,477
Downloads: 78
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
30,668 | 36,326 | resque-unique_by_arity |
Depends on
Rank | Downloads | Name |
---|---|---|
16 | 855,188,240 | rake |
23 | 768,688,728 | rspec |
63 | 423,237,327 | pry |
68 | 414,960,918 | rubocop |
94 | 322,136,912 | byebug |
170 | 192,548,203 | timecop |
171 | 192,295,083 | pry-byebug |
201 | 155,329,951 | rubocop-rspec |
255 | 124,538,529 | colorize |
834 | 41,807,242 | resque |
1,412 | 18,058,464 | fakeredis |
13,259 | 128,778 | rspec-stubbed_env |
28,925 | 39,255 | rspec-block_is_expected |
Owners
# | Gravatar | Handle |
---|---|---|
1 | pboling |