forked from farhoodlabs/paperclip
chore(plugin-rpc): raise MAX_RPC_TIMEOUT_MS cap to 60 minutes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user