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

Function parseSynthMinIntervalEnv

src/index.ts:184–189  ·  view source on GitHub ↗
(raw: string | undefined)

Source from the content-addressed store, hash-verified

182 * milliseconds, 1000 to 24 hours; unset, empty or out of range means no hold.
183 */
184export function parseSynthMinIntervalEnv(raw: string | undefined): number | undefined {
185 if (!raw || !raw.trim()) return undefined;
186 const n = Number(raw);
187 if (!Number.isInteger(n) || n < 1000 || n > 86_400_000) return undefined;
188 return n;
189}
190
191export class CodeGraph {
192 private db: DatabaseConnection;

Callers 3

synthesisHoldMsMethod · 0.85
retryLaterMethod · 0.85

Calls 1

NumberInterface · 0.85

Tested by

no test coverage detected