From 558b637b07ab42cc39b01ec36fa76f0130d24e74 Mon Sep 17 00:00:00 2001 From: lanzafame Date: Thu, 10 Sep 2020 13:52:21 +1000 Subject: [PATCH] Increase the number of times precommit2 is attempted before moving back to precommit1 --- extern/storage-sealing/states_failed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/storage-sealing/states_failed.go b/extern/storage-sealing/states_failed.go index 57a93a773..4dd945a81 100644 --- a/extern/storage-sealing/states_failed.go +++ b/extern/storage-sealing/states_failed.go @@ -62,7 +62,7 @@ func (m *Sealing) handleSealPrecommit2Failed(ctx statemachine.Context, sector Se return err } - if sector.PreCommit2Fails > 1 { + if sector.PreCommit2Fails > 3 { return ctx.Send(SectorRetrySealPreCommit1{}) }