Skip to content

PREVIEW_RETRY_MS

const PREVIEW_RETRY_MS: 30000 = 30_000

Defined in: camera/scene-stack.ts:242

How long a preview whose load failed is left alone before it may be tried again. Previews are scheduled after every draw, so without this a failure (a 429 most of all) was retried on the very next frame, for as long as the node stayed on screen — hundreds of requests a minute.