From 85ad3b19970d98adcaa000eb62ad026b8726eddf Mon Sep 17 00:00:00 2001 From: scamiv <6170744+scamiv@users.noreply.github.com> Date: Tue, 25 Nov 2025 18:00:30 +0100 Subject: [PATCH] testing --- src/client/ClientGameRunner.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/ClientGameRunner.ts b/src/client/ClientGameRunner.ts index 077b3d2a7..9e7e626e4 100644 --- a/src/client/ClientGameRunner.ts +++ b/src/client/ClientGameRunner.ts @@ -450,9 +450,9 @@ export class ClientGameRunner { this.isProcessingUpdates = true; const processFrame = () => { const BASE_SLICE_BUDGET_MS = 8; // keep UI responsive while catching up - const MAX_SLICE_BUDGET_MS = 2000; // allow longer slices when backlog is large - const BACKLOG_FREE_TURNS = 10; // scaling starts at this many turns - const BACKLOG_MAX_TURNS = 500; // MAX_SLICE_BUDGET_MS is reached at this many turns + const MAX_SLICE_BUDGET_MS = 10000; // allow longer slices when backlog is large + const BACKLOG_FREE_TURNS = 5; // scaling starts at this many turns + const BACKLOG_MAX_TURNS = 50; // MAX_SLICE_BUDGET_MS is reached at this many turns const MAX_TICKS_PER_SLICE = 1000; const backlogOverhead = Math.max(