From e37180d3e3b5fdb7ded00efcb9321152d9999e9f Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Fri, 1 May 2026 21:00:08 -0400 Subject: [PATCH] chore(plugin-rpc): raise MAX_RPC_TIMEOUT_MS cap to 60 minutes --- server/src/services/plugin-worker-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/services/plugin-worker-manager.ts b/server/src/services/plugin-worker-manager.ts index 8413af10..993a64e5 100644 --- a/server/src/services/plugin-worker-manager.ts +++ b/server/src/services/plugin-worker-manager.ts @@ -57,8 +57,8 @@ import { logger } from "../middleware/logger.js"; /** Default timeout for RPC calls in milliseconds. */ const DEFAULT_RPC_TIMEOUT_MS = 30_000; -/** Hard upper bound for any RPC timeout (5 minutes). Prevents unbounded waits. */ -const MAX_RPC_TIMEOUT_MS = 5 * 60 * 1_000; +/** Hard upper bound for any RPC timeout (60 minutes). Prevents unbounded waits. */ +const MAX_RPC_TIMEOUT_MS = 60 * 60 * 1_000; /** Timeout for the initialize RPC call. */ const INITIALIZE_TIMEOUT_MS = 15_000;