[openstreetmap/openstreetmap-website] Add early timeout when connection cannot be established (PR #6573)
rkoeze
notifications at github.com
Sun Nov 30 21:54:59 UTC 2025
### Description
Configure Faraday’s `open_timeout` so that when a connection cannot be established, the request fails quickly instead of waiting for the full response timeout. See the Faraday docs [here](https://lostisland.github.io/faraday/#/customization/request-options?id=request-options) for details.
Todo:
- [ ] write tests
### How has this been tested?
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6573
-- Commit Summary --
* Add early timeout when connection cannot be established
-- File Changes --
M lib/osm.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6573.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6573.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6573
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6573 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251130/2721ea02/attachment.htm>
More information about the rails-dev
mailing list