Skip to content

Commit

Permalink
fix timerwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiling-J committed Nov 3, 2024
1 parent a6639ba commit 6640abe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/timerwheel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6640abe

Please sign in to comment.