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
b8d974028d
commit
f7bbbb765f
@ -326,6 +326,11 @@ func (q *ResultsQueue) Drain(ctx context.Context) error {
|
||||
// q.drainNoBlock(nil)
|
||||
// return nil
|
||||
//}
|
||||
q.Lock()
|
||||
for _, t := range *(q.results) {
|
||||
log.Warn("[dbg] before drain resultqueue", "txnum", t.TxNum)
|
||||
}
|
||||
q.Unlock()
|
||||
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
|
@ -229,8 +229,6 @@ func ExecV3(ctx context.Context,
|
||||
var lastBlockNum uint64
|
||||
|
||||
for outputTxNum.Load() <= maxTxNum {
|
||||
|
||||
log.Warn("[dbg] before drain", "outputTxNum.Load()", outputTxNum.Load(), "maxTxNum", maxTxNum, "rws.ResultChLen()", rws.ResultChLen(), "rws.Len", rws.Len())
|
||||
if err := rws.Drain(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user