This commit is contained in:
alex.sharov 2023-04-19 12:55:10 +07:00
parent c0cf958215
commit b2f5bbbff9

View File

@ -302,6 +302,7 @@ func ExecV3(ctx context.Context,
case <-logEvery.C: case <-logEvery.C:
stepsInDB := rawdbhelpers.IdxStepsCountV3(tx) stepsInDB := rawdbhelpers.IdxStepsCountV3(tx)
log.Warn("[dbg] stat of in-queue", "newTasks", in.NewTasksLen(), "retires", in.RetriesLen())
progress.Log(rs, in, rws, rs.DoneCount(), inputBlockNum.Load(), outputBlockNum.Get(), outputTxNum.Load(), ExecRepeats.Get(), stepsInDB) progress.Log(rs, in, rws, rs.DoneCount(), inputBlockNum.Load(), outputBlockNum.Get(), outputTxNum.Load(), ExecRepeats.Get(), stepsInDB)
if agg.HasBackgroundFilesBuild() { if agg.HasBackgroundFilesBuild() {
log.Info(fmt.Sprintf("[%s] Background files build", logPrefix), "progress", agg.BackgroundProgress()) log.Info(fmt.Sprintf("[%s] Background files build", logPrefix), "progress", agg.BackgroundProgress())