about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-01-12 15:49:30 +0100
committermultiple creatures <dev@multiple-creature.party>2020-02-21 05:43:53 -0600
commite2216a2ffcee9391700c3e7048ec86c421df6977 (patch)
tree91b015ac37bc8626ca509362a31a6397bc806aa5 /app/lib
parentd4bad9164268cd14744bef2f8e681079fb5b98ce (diff)
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
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/request.rb2
1 files changed, 1 insertions, 1 deletions
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