lib/bearcat/client/file_helper.rb in bearcat-1.3.16 vs lib/bearcat/client/file_helper.rb in bearcat-1.3.17
- old
+ new
@@ -27,9 +27,11 @@
post(uri.path, CGI::parse(uri.query))
end
def upload_connection
Faraday.new do |f|
+ f.options[:open_timeout] = 100
+ f.options[:timeout] = 100
f.request :multipart
f.request :url_encoded
f.adapter :net_http
end
end