MCPcopy
hub / github.com/browserless/browserless / logOnce

Method logOnce

src/monitoring.ts:168–175  ·  view source on GitHub ↗
(category: string, err: unknown)

Source from the content-addressed store, hash-verified

166 }
167
168 protected logOnce(category: string, err: unknown) {
169 if (this.loggedFailure.has(category)) return;
170 this.loggedFailure.add(category);
171 this.log.warn(
172 `cgroup v2 ${category} failure (further occurrences silenced):`,
173 err,
174 );
175 }
176}
177
178export function parseCpuV1Quota(

Callers 2

readCpuMethod · 0.95
readMemoryMethod · 0.95

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected