Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement more retries on timeout errors #5

Open
drh-stanford opened this issue Feb 15, 2018 · 0 comments
Open

Implement more retries on timeout errors #5

drh-stanford opened this issue Feb 15, 2018 · 0 comments

Comments

@drh-stanford
Copy link

Currently, GeoMonitor retries twice on Faraday connection errors, like Faraday::Timeout. We may want to bump up the retries and backoff, and/or the timeout options.

See

conn = Faraday.new(url: url)
begin
conn.get do |request|
request.params = request_params
request.options.timeout = 10
request.options.open_timeout = 10
end

and

http://www.rubydoc.info/github/lostisland/faraday/Faraday/Request/Retry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant