From 8c83908f98f64938261d0cf6531ad98522d538cd Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Tue, 21 Nov 2023 23:01:25 +0800 Subject: [PATCH] refactor: change default interval of reporter --- reporter/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporter/main.go b/reporter/main.go index 96b4f1b..3349b3d 100644 --- a/reporter/main.go +++ b/reporter/main.go @@ -26,7 +26,7 @@ var ( Url = flag.String("url", "", "The http url of tianji, for example: https://tianji.msgbyte.com") WorkspaceId = flag.String("workspace", "", "The workspace id for tianji, this should be a uuid") Name = flag.String("name", "", "The identification name for this machine") - Interval = flag.Int("interval", 10.0, "Input the INTERVAL, seconed") + Interval = flag.Int("interval", 5.0, "Input the INTERVAL, seconed") IsVnstat = flag.Bool("vnstat", false, "Use vnstat for traffic statistics, linux only") )