mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-20 04:50:24 +08:00
节点统计数据只保留两个小时
This commit is contained in:
@@ -29,7 +29,7 @@ func NewMonitorItemValueTask() *MonitorItemValueTask {
|
||||
}
|
||||
|
||||
func (this *MonitorItemValueTask) Start() {
|
||||
ticker := time.NewTicker(24 * time.Hour)
|
||||
ticker := time.NewTicker(1 * time.Hour)
|
||||
if Tea.IsTesting() {
|
||||
ticker = time.NewTicker(1 * time.Minute)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user