mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 22:10:43 +00:00
perf(gateway): trim startup imports and sentinel checks
This commit is contained in:
@@ -580,7 +580,10 @@ function parseStartupTraceMetrics(raw: string): Array<{ key: string; value: numb
|
||||
const value = Number(metricMatch[2]);
|
||||
if (
|
||||
!Number.isFinite(value) ||
|
||||
(key !== "eventLoopMax" && !key.endsWith("Ms") && !key.endsWith("Mb"))
|
||||
(key !== "eventLoopMax" &&
|
||||
!key.endsWith("Ms") &&
|
||||
!key.endsWith("Mb") &&
|
||||
!key.endsWith("Count"))
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user