MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / parseDebounceEnv

Function parseDebounceEnv

src/mcp/engine.ts:375–381  ·  view source on GitHub ↗
(raw: string | undefined)

Source from the content-addressed store, hash-verified

373 * a typoed value would mask a real config bug.
374 */
375export function parseDebounceEnv(raw: string | undefined): number | undefined {
376 if (!raw || !raw.trim()) return undefined;
377 const n = Number(raw);
378 if (!Number.isFinite(n) || !Number.isInteger(n)) return undefined;
379 if (n < 100 || n > 60000) return undefined;
380 return n;
381}

Callers 2

startWatchingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected