mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
fix(terrain): refresh cache recency when resolving warm batches
This commit is contained in:
1 parent
0265ad4c19
commit
9f56e9df98
4 files changed
+31
-1
No files matched your search
@@ -273,7 +273,7 @@ export function createTerrainHeights({
|
||||
const seenKeys = new Set();
|
||||
const now = Date.now();
|
||||
for (const item of work) {
|
||||
const entry = cache.get(item.key);
|
||||
const entry = cacheTouch(item.key);
|
||||
const fallbackCooling =
|
||||
entry?.source === 'geoid-fallback' &&
|
||||
Number.isFinite(entry.retryAt) &&
|
||||
|
||||
Reference in new issue
Block a user