From dc1ddfbeee0e07bf32fd43f8ba6df54b0fb196c0 Mon Sep 17 00:00:00 2001 From: scamiv <6170744+scamiv@users.noreply.github.com> Date: Mon, 24 Nov 2025 20:35:49 +0100 Subject: [PATCH] testing values --- 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 2294755c7..ae1164dbd 100644 --- a/src/client/ClientGameRunner.ts +++ b/src/client/ClientGameRunner.ts @@ -484,10 +484,10 @@ export class ClientGameRunner { this.isProcessingUpdates = true; const processSlice = () => { const BASE_SLICE_BUDGET_MS = 8; // keep UI responsive while catching up - const MAX_SLICE_BUDGET_MS = 1000; // allow longer slices when backlog is large + 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 = 1000; // MAX_SLICE_BUDGET_MS is reached at this many turns - const MAX_PER_SLICE = 100; + const BACKLOG_MAX_TURNS = 500; // MAX_SLICE_BUDGET_MS is reached at this many turns + const MAX_PER_SLICE = 1000; const backlogOverhead = Math.max( 0,