mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
fix(overpass): reserve singleflight before disk cache reads
This commit is contained in:
1 parent
84d96971df
commit
5980a08533
4 files changed
+96
-71
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user