Class: Typhoeus::Hydra
Instance Attribute Summary collapse
-
#max_concurrency ⇒ Object
Returns the value of attribute max_concurrency.
Instance Method Summary collapse
Instance Attribute Details
#max_concurrency ⇒ Object
Returns the value of attribute max_concurrency.
20 21 22 |
# File 'lib/arachni/typhoeus/hydra.rb', line 20 def max_concurrency @max_concurrency end |
Instance Method Details
#old_queue ⇒ Object
27 |
# File 'lib/arachni/typhoeus/hydra.rb', line 27 alias :old_queue :queue |
#old_run ⇒ Object
22 |
# File 'lib/arachni/typhoeus/hydra.rb', line 22 alias :old_run :run |
#queue(*args) ⇒ Object
28 29 30 |
# File 'lib/arachni/typhoeus/hydra.rb', line 28 def queue( *args ) synchronize { old_queue( *args ) } end |
#run ⇒ Object
23 24 25 |
# File 'lib/arachni/typhoeus/hydra.rb', line 23 def run synchronize { old_run } end |