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
committerEugen Rochko <eugen@zeonfederated.com>2020-01-12 15:49:30 +0100
commit24cd2126c6cfb80844ef9ffbf61647b3d9afdc68 (patch)
tree42f8f2e042ba88aa1b834c58993e84fbe990fd0d /app/lib
parenta369d1ca644b7d6f3633b9036533a27969fc6aa6 (diff)
Fix Ruby 2.7 support (#12831)
- 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 d82bbb075..c476e7785 100644
--- a/app/lib/request.rb
+++ b/app/lib/request.rb
@@ -96,7 +96,7 @@ class Request
     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