mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-07 06:00:06 +00:00
💄 优化循环流量展示
This commit is contained in:
@@ -42,6 +42,8 @@ func addCycleTransferStatsInfo(alert *model.AlertRule) {
|
||||
Name: alert.Name,
|
||||
From: from,
|
||||
To: from.Add(time.Hour * time.Duration(alert.Rules[j].CycleInterval)),
|
||||
Max: uint64(alert.Rules[j].Max),
|
||||
Min: uint64(alert.Rules[j].Min),
|
||||
ServerName: make(map[uint64]string),
|
||||
Transfer: make(map[uint64]uint64),
|
||||
NextUpdate: make(map[uint64]time.Time),
|
||||
|
||||
Reference in New Issue
Block a user