lib/httpx/timeout.rb in httpx-0.1.0 vs lib/httpx/timeout.rb in httpx-0.2.0

- old
+ new

@@ -9,10 +9,10 @@ def self.new(opts = {}) return opts if opts.is_a?(Timeout) super end - def initialize(loop_timeout: 5, total_timeout: nil) + def initialize(loop_timeout: LOOP_TIMEOUT, total_timeout: nil) @loop_timeout = loop_timeout @total_timeout = total_timeout reset_counter end