Increase the number of times precommit2 is attempted before moving back to precommit1

This commit is contained in:
lanzafame 2020-09-10 13:52:21 +10:00
parent 767341b279
commit 558b637b07

View File

@ -62,7 +62,7 @@ func (m *Sealing) handleSealPrecommit2Failed(ctx statemachine.Context, sector Se
return err return err
} }
if sector.PreCommit2Fails > 1 { if sector.PreCommit2Fails > 3 {
return ctx.Send(SectorRetrySealPreCommit1{}) return ctx.Send(SectorRetrySealPreCommit1{})
} }