chore(plugin-rpc): raise MAX_RPC_TIMEOUT_MS cap to 60 minutes

This commit is contained in:
2026-05-01 21:00:08 -04:00
parent 1678160c49
commit e37180d3e3
+2 -2
View File
@@ -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;