This commit is contained in:
白茶清欢 2024-10-08 11:14:50 +08:00
parent bf27b47427
commit 4bf786336e

View File

@ -37,7 +37,7 @@ func NewTimeWheel(slotCount int, interval time.Duration) *TimeWheel {
addTaskChannel: make(chan *Task, 1000), addTaskChannel: make(chan *Task, 1000),
removeTaskChannel: make(chan *Task, 1000), removeTaskChannel: make(chan *Task, 1000),
stopChannel: make(chan bool, 1000), stopChannel: make(chan bool, 1000),
taskRecords: easymap.NewNormal(true), taskRecords: easymap.NewNormal(),
job: nil, job: nil,
isRunning: false, isRunning: false,
} }