mirror of
https://github.com/HDT3213/delayqueue.git
synced 2025-10-02 14:02:34 +08:00
let consume buffer naturally depletion
This commit is contained in:
@@ -674,7 +674,6 @@ func (q *DelayQueue) StopConsume() {
|
||||
if q.ticker != nil {
|
||||
q.ticker.Stop()
|
||||
}
|
||||
close(q.consumeBuffer)
|
||||
}
|
||||
|
||||
// GetPendingCount returns the number of pending messages
|
||||
|
Reference in New Issue
Block a user