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, }