mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
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:
1 parent
35bfe203a6
commit
c18af6ad1c
3 files changed
+46
-3
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user