This commit is contained in:
alex.sharov 2023-04-19 12:50:35 +07:00
parent 6e5e5e026c
commit 279bc6063b

View File

@ -229,6 +229,8 @@ 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
}