Feat: mem chart to 10 min

This commit is contained in:
unitwk 2023-05-24 14:25:36 +08:00
parent cd20dce278
commit 09d62b8138

View File

@ -34,7 +34,7 @@ interface ISystemChartInfo {
class VisualDataSubsystem {
public readonly countMap: Map<string, number> = new Map<string, number>();
public readonly systemChart = new LineQueue<ISystemChartInfo>(60, { cpu: 0, mem: 0 });
public readonly systemChart = new LineQueue<ISystemChartInfo>(200, { cpu: 0, mem: 0 });
private requestCount = 0;
@ -52,7 +52,7 @@ class VisualDataSubsystem {
mem: 0
});
}
}, 1000 * 10);
}, 1000 * 3);
}
addRequestCount() {