Skip to content

Commit

Permalink
updated to 5 min interval on stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Jan 15, 2024
1 parent b48c48a commit d341ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/GetSystemStatsController.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ func GetSystemStats(c *fiber.Ctx) error {
DiskW float64
DiskR float64
}
amount := 240
duration := time.Minute
amount := 48
duration := time.Minute * 5
var response []StatItem
for i := 0; i < amount; i++ {
var resources StatItem
Expand Down

0 comments on commit d341ec6

Please sign in to comment.