mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 07:48:12 +00:00
fix(diagnostics): bound diagnostic buffers
This commit is contained in:
@@ -211,6 +211,9 @@ function formatStabilityEvent(record: DiagnosticStabilityEventRecord): string {
|
||||
record.bytes !== undefined ? `bytes=${formatBytes(record.bytes)}` : "",
|
||||
record.limitBytes !== undefined ? `limit=${formatBytes(record.limitBytes)}` : "",
|
||||
record.queueDepth !== undefined ? `queueDepth=${record.queueDepth}` : "",
|
||||
record.queueLength !== undefined ? `queueLength=${record.queueLength}` : "",
|
||||
record.droppedEvents !== undefined ? `dropped=${record.droppedEvents}` : "",
|
||||
record.maxQueueLength !== undefined ? `maxQueue=${record.maxQueueLength}` : "",
|
||||
record.queued !== undefined ? `queued=${record.queued}` : "",
|
||||
record.memory ? `rss=${formatBytes(record.memory.rssBytes)}` : "",
|
||||
record.memory ? `heap=${formatBytes(record.memory.heapUsedBytes)}` : "",
|
||||
|
||||
Reference in New Issue
Block a user