mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-18 18:49:23 +08:00
feat: 可以指定基础信息上报时间
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
func DoUploadBasicInfoWorks() {
|
||||
ticker := time.NewTicker(time.Duration(15) * time.Minute)
|
||||
ticker := time.NewTicker(time.Duration(flags.InfoReportInterval) * time.Minute)
|
||||
for range ticker.C {
|
||||
err := uploadBasicInfo()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user