mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
save
This commit is contained in:
parent
e308cfbdf8
commit
b8a02642e2
@ -181,6 +181,7 @@ func (q *QueueWithRetry) popWait(ctx context.Context) (task *TxTask, ok bool) {
|
||||
case inTask, ok := <-q.newTasks:
|
||||
if !ok {
|
||||
q.retiresLock.Lock()
|
||||
log.Warn("[dbg] Next: see closed chan, read task from queue", "q.retires.Len()", q.retires.Len())
|
||||
if q.retires.Len() > 0 {
|
||||
task = heap.Pop(&q.retires).(*TxTask)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user