I\'ve searched the docs and other places online and cannot seem to come up with the proper way to set the timeout option for Faraday. Anyone have the answer?
I\'ve tried
Well it seems I figured it out. If I pass the timeout option into the initializer, it seems to work:
options = { :timeout => 20, :open_timeout => 20 } conn = FaradayStack.build(url, options) conn.headers[:user_agent] = AppConfig.user_agent conn.get.body