From b40bd7e709d72c30d60f706bcab1d718243a4faf Mon Sep 17 00:00:00 2001 From: boyce Date: Sun, 25 Oct 2020 00:12:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=B6=E9=97=B4=E8=BD=AEti?= =?UTF-8?q?ck=E6=97=B6=E9=97=B4=E9=97=B4=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/timewheel/timewheel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/timewheel/timewheel.go b/util/timewheel/timewheel.go index ec040b9..08236ce 100644 --- a/util/timewheel/timewheel.go +++ b/util/timewheel/timewheel.go @@ -35,7 +35,7 @@ func init(){ //定时器运行与驱动 func timerRunning(){ - t := time.NewTicker(time.Microsecond*5) + t := time.NewTicker(time.Millisecond*10) for { /* if test == true { testTimerRunning()