MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / emptyAgeBuckets

Function emptyAgeBuckets

apps/cloud/src/observability/memory-metrics.ts:99–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97};
98
99const emptyAgeBuckets = (): AgeBuckets => ({
100 lt1m: 0,
101 m1to5: 0,
102 m5to30: 0,
103 m30to60: 0,
104 gt60m: 0,
105});
106
107const bucketAge = (buckets: AgeBuckets, ageMs: number): AgeBuckets => {
108 const next = { ...buckets };

Callers 1

snapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected