From e2216a2ffcee9391700c3e7048ec86c421df6977 Mon Sep 17 00:00:00 2001 From: ThibG Date: Sun, 12 Jan 2020 15:49:30 +0100 Subject: port tootsuite#12831 to monsterfork: Fix Ruby 2.7 support - update http gem to avoid errors - update blurhash gem to avoid shared object loading error - update goldfinger gem so the http gem could be updated - update json gem to avoid warnings --- app/lib/request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/lib/request.rb b/app/lib/request.rb index 5186bb5a3..f2905c462 100644 --- a/app/lib/request.rb +++ b/app/lib/request.rb @@ -79,7 +79,7 @@ class Request %w(http https).include?(parsed_url.scheme) && parsed_url.host.present? end def http_client - HTTP.use(:auto_inflate).timeout(:per_operation, TIMEOUT.dup).follow(max_hops: 2) + HTTP.use(:auto_inflate).timeout(TIMEOUT.dup).follow(max_hops: 2) end end -- cgit