From efdb04f0bcf5bae31422993a94864811304e43c2 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Fri, 20 Aug 2021 15:48:16 +0800 Subject: [PATCH] x --- models/task.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/task.go b/models/task.go index ed42a77..2ae18b5 100644 --- a/models/task.go +++ b/models/task.go @@ -198,6 +198,7 @@ func cmd(str string, msgs ...interface{}) { nt := time.Now() if (nt.UnixNano()-st.UnixNano())/1e6 > 100 { go sendMessagee(msg, msgs...) + st = nt msg = "" } }