fix(street-level): run at most six Mapillary tile fetches at once

Tiles a camera move leaves behind keep downloading after the client drops
them; the cap bounds their memory and quota, as main's proxy did.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-08 16:20:50 +04:00
1 parent 35bfe203a6
commit c18af6ad1c
3 files changed
+46 -3

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ import {
} from './mapillary/tiles.js';
/**
* Tile requests per client IP per minute, cache hits included: 24 new 25-tile
* views a minute, more than a person flying the camera reaches.
* Tile requests per client IP per minute, cache hits included: over 60 new
* 9-tile views a minute, more than a person flying the camera reaches.
*/
export const TILE_ROUTE_MAX_PER_MIN = 600;
/** The longest upstream Retry-After passed on, in seconds. */