From e0f84087aca5dd7d1ac3b701502824d4c2894faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 19 Feb 2024 08:47:30 +0100 Subject: [PATCH] lotus-provider: Use timeouts from config --- provider/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/builder.go b/provider/builder.go index d49333965..08f18a5d8 100644 --- a/provider/builder.go +++ b/provider/builder.go @@ -25,7 +25,7 @@ func WindowPostScheduler(ctx context.Context, fc config.LotusProviderFees, pc co stor paths.Store, idx paths.SectorIndex, max int) (*lpwindow.WdPostTask, *lpwindow.WdPostSubmitTask, *lpwindow.WdPostRecoverDeclareTask, error) { // todo config - ft := lpwindow.NewSimpleFaultTracker(stor, idx, 32, 5*time.Second, 300*time.Second) + ft := lpwindow.NewSimpleFaultTracker(stor, idx, pc.ParallelCheckLimit, time.Duration(pc.SingleCheckTimeout), time.Duration(pc.PartitionCheckTimeout)) computeTask, err := lpwindow.NewWdPostTask(db, api, ft, lw, verif, chainSched, addresses, max) if err != nil {