(category: string, err: unknown)
| 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 | |
| 178 | export function parseCpuV1Quota( |
no test coverage detected