Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 09d62b8

Browse files
committed
Feat: mem chart to 10 min
1 parent cd20dce commit 09d62b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/service/system_visual_data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface ISystemChartInfo {
3434
class VisualDataSubsystem {
3535
public readonly countMap: Map<string, number> = new Map<string, number>();
3636

37-
public readonly systemChart = new LineQueue<ISystemChartInfo>(60, { cpu: 0, mem: 0 });
37+
public readonly systemChart = new LineQueue<ISystemChartInfo>(200, { cpu: 0, mem: 0 });
3838

3939
private requestCount = 0;
4040

@@ -52,7 +52,7 @@ class VisualDataSubsystem {
5252
mem: 0
5353
});
5454
}
55-
}, 1000 * 10);
55+
}, 1000 * 3);
5656
}
5757

5858
addRequestCount() {

0 commit comments

Comments
 (0)