1681-engine / index / rebuildDelayMs
Function: rebuildDelayMs() ​
ts
function rebuildDelayMs(losses): number;Defined in: src/diagnostics/contextLoss.ts:39
How long to wait before rebuilding after a loss, with losses counted in the window: a GPU that has just reset is given longer each time it drops the context again (a rebuild at once was dropped at once on a phone).
Parameters ​
| Parameter | Type |
|---|---|
losses | number |
Returns ​
number