lib/httpx/plugins/persistent.rb in httpx-0.21.1 vs lib/httpx/plugins/persistent.rb in httpx-0.22.0
- old
+ new
@@ -13,10 +13,10 @@
# terminated by a different session, it will just retry on a new one and keep it open.
#
# This plugin is also not recommendable when connecting to >9000 (like, a lot) different origins.
# So when you use this, make sure that you don't fall into this trap.
#
- # https://gitlab.com/honeyryderchuck/httpx/wikis/Persistent
+ # https://gitlab.com/os85/httpx/wikis/Persistent
#
module Persistent
def self.load_dependencies(klass)
max_retries = if klass.default_options.respond_to?(:max_retries)
[klass.default_options.max_retries, 1].max