fix(overpass): reserve singleflight before disk cache reads

This commit is contained in:
Said committed 2026-10-20 01:12:36 +01:00
1 parent 84d96971df
commit 5980a08533
4 files changed
+96 -71

No files matched your search

+6
View File
@@ -1,5 +1,11 @@
# God's Eye View Current State
Overpass reserves each normalized query before its disk-cache lookup. The same
reservation covers upstream quota admission, concurrency, fetch and cache
publication; duplicate callers join the complete transaction and share stale
fallback on failure. Settled and rejected reservations are removed only while
they still own their map entry.
Shared distance checks use `src/geoDistance.js` with `{ lat, lon }` points and
the IUGG mean spherical Earth radius, 6371.0088 km. `greatCircleKm` is
canonical; `greatCircleMeters` is its exact metre conversion. Missing,