MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / parseDebounceEnv

Function parseDebounceEnv

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

Source from the content-addressed store, hash-verified

326 * a typoed value would mask a real config bug.
327 */
328export function parseDebounceEnv(raw: string | undefined): number | undefined {
329 if (!raw || !raw.trim()) return undefined;
330 const n = Number(raw);
331 if (!Number.isFinite(n) || !Number.isInteger(n)) return undefined;
332 if (n < 100 || n > 60000) return undefined;
333 return n;
334}

Callers 2

startWatchingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected