mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
cumulative index stage: ctrl+C support
This commit is contained in:
parent
b8a02642e2
commit
d5a06a2d4f
@ -104,9 +104,9 @@ func (rw *Worker) Run() error {
|
||||
if err := rw.resultCh.Add(rw.ctx, txTask); err != nil {
|
||||
return err
|
||||
}
|
||||
if txTask.TxNum > 9300_000 {
|
||||
log.Warn("[dbg] before next", "newTasks", rw.in.NewTasksLen(), "retires", rw.in.RetriesLen())
|
||||
}
|
||||
//if txTask.TxNum > 930_000 {
|
||||
//log.Warn("[dbg] before next", "newTasks", rw.in.NewTasksLen(), "retires", rw.in.RetriesLen())
|
||||
//}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -304,7 +304,7 @@ func ExecV3(ctx context.Context,
|
||||
stepsInDB := rawdbhelpers.IdxStepsCountV3(tx)
|
||||
l := in.RetryTxNumsList()
|
||||
if len(l) > 0 {
|
||||
log.Warn("[dbg] stat of in-queue", "newTasks", in.NewTasksLen(), "retires", in.RetriesLen(), "txNums", fmt.Sprintf("%d", l))
|
||||
log.Warn("[dbg] stat of in-queue", "newTasks", in.NewTasksLen(), "retires", in.RetriesLen(), "txNums", fmt.Sprintf("%d", l), "outputTxNum.Load()", outputTxNum.Load())
|
||||
}
|
||||
progress.Log(rs, in, rws, rs.DoneCount(), inputBlockNum.Load(), outputBlockNum.Get(), outputTxNum.Load(), ExecRepeats.Get(), stepsInDB)
|
||||
if agg.HasBackgroundFilesBuild() {
|
||||
|
Loading…
Reference in New Issue
Block a user