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

Function parseSynthMinIntervalEnv

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

Source from the content-addressed store, hash-verified

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

Callers 3

synthesisHoldMsMethod · 0.85
retryLaterMethod · 0.85

Calls 1

NumberInterface · 0.85

Tested by

no test coverage detected