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

Function retentionCutoff

telemetry-worker/src/rollup.ts:58–60  ·  view source on GitHub ↗
(atMs: number, keepDays: number)

Source from the content-addressed store, hash-verified

56
57/** Oldest day kept: everything strictly before this is purged. */
58export function retentionCutoff(atMs: number, keepDays: number): string {
59 return utcDay(atMs - keepDays * DAY_MS);
60}
61
62// ---------------------------------------------------------------------------
63// The rollup statements

Callers 2

runNightlyFunction · 0.85
handleAdminRollupFunction · 0.85

Calls 1

utcDayFunction · 0.70

Tested by

no test coverage detected