From 6640abe7ba25341cd6188fbdc754b72fc4522df7 Mon Sep 17 00:00:00 2001 From: Yiling-J Date: Tue, 27 Aug 2024 17:48:36 +0800 Subject: [PATCH] fix timerwheel --- src/timerwheel.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/timerwheel.rs b/src/timerwheel.rs index d06928d..49ea083 100644 --- a/src/timerwheel.rs +++ b/src/timerwheel.rs @@ -185,8 +185,6 @@ impl TimerWheel { } } - // clear current bucket and reschedule items in current bucket - self.wheel[index][(i & mask) as usize].clear(); removed_all.append(&mut removed); } removed_all