add send message aggregation

This commit is contained in:
ehlxr 2019-12-13 17:36:56 +08:00
parent 745ef9ee9b
commit 113d3a14e7

View File

@ -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...")