From 113d3a14e7faa783cfce381cdc075e78ffec3e50 Mon Sep 17 00:00:00 2001 From: ehlxr Date: Fri, 13 Dec 2019 17:36:56 +0800 Subject: [PATCH] add send message aggregation --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 59c56b9..8a1f3f4 100644 --- a/main.go +++ b/main.go @@ -71,7 +71,7 @@ func tailFile() { var buffer bytes.Buffer go func() { - ticker := time.NewTicker(10 * time.Second) + ticker := time.NewTicker(1 * time.Minute) for { <-ticker.C log.Info("will send msg to dingtalk...")