fix(places): keep the places index's build date only when every tile is unchanged; say the 500 km cap is for wide lookups

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 22:44:12 -08:00
1 parent ecb7e7cd68
commit d2797dbad2
7 files changed
+37 -19

No files matched your search

+1 -1
View File
@@ -282,7 +282,7 @@ test('a tile that cannot be read leaves the other places and the cities', async
assert.ok(near.some((place) => place.longitude > -95));
});
test('a view of the whole globe reads only the tiles near its centre', async () => {
test('a lookup asked for the whole globe reads only the tiles near its centre', async () => {
const { placesNear, PLACE_TILE_KM } =
await import('./wikidataCities.js?globe');
const fetched = [];