From 4bf786336e24b9d97a8f3dd66dcaf39ac1b054e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Tue, 8 Oct 2024 11:14:50 +0800 Subject: [PATCH] fix --- core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.go b/core.go index f2e4d13..3e3c316 100644 --- a/core.go +++ b/core.go @@ -37,7 +37,7 @@ func NewTimeWheel(slotCount int, interval time.Duration) *TimeWheel { addTaskChannel: make(chan *Task, 1000), removeTaskChannel: make(chan *Task, 1000), stopChannel: make(chan bool, 1000), - taskRecords: easymap.NewNormal(true), + taskRecords: easymap.NewNormal(), job: nil, isRunning: false, }