Refactor overpass endpoint selection order#956
Conversation
There was a problem hiding this comment.
Pull request overview
Refactors the Overpass API endpoint selection order in fetch_data_from_overpass, introducing an Arnis-hosted Overpass endpoint and a probabilistic “probe” of an official endpoint before proceeding with the normal retry sequence.
Changes:
- Add
https://api.arnismc.com/overpass/api/interpreterand attempt it before shuffled official/fallback endpoints. - Introduce a 25% chance “probe” request to a random official Overpass server before the normal sequence.
- Replace the prior concatenated shuffled server list with an explicit
request_planthat tracks fallback vs non-fallback for retry delays/logging.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
⏱️ Benchmark run finished in 2m 35s 📈 Compared against baseline: 20s 🟢 Generation time is unchanged. 📅 Last benchmark: 2026-04-21 12:37:58 UTC You can retrigger the benchmark by commenting |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.