File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import * as vscode from "vscode"
44// JavaScript's setTimeout has a maximum delay limit of 2147483647ms (32-bit signed integer max)
55// Values larger than this may be clamped to 1ms or cause unexpected behavior
66// 2147483647 is the safe maximum value that won't cause issues
7- export const MAX_TIMEOUT_MS = 2147483647
7+ const MAX_TIMEOUT_MS = 2147483647
88
99const DEFAULT_TIMEOUT_MS = 600 * 1000
1010
1111/**
1212 * Gets the API request timeout from VSCode configuration with validation.
1313 *
14- * @returns The timeout in milliseconds. Returns 2147483647 for no timeout (when config is 0).
14+ * @returns The timeout in milliseconds. Returns 2147483647 (max value for 32-bit signed integer) for no timeout (when config is 0).
1515 */
1616export function getApiRequestTimeout ( ) : number {
1717 // Get timeout with validation to ensure it's a valid non-negative number
You can’t perform that action at this time.
0 commit comments