diff --git a/curiosrc/piece/task_cleanup_piece.go b/curiosrc/piece/task_cleanup_piece.go index 43c5d6f0c..ed22ccb46 100644 --- a/curiosrc/piece/task_cleanup_piece.go +++ b/curiosrc/piece/task_cleanup_piece.go @@ -2,11 +2,11 @@ package piece import ( "context" - "github.com/filecoin-project/lotus/curiosrc/ffi" "time" "golang.org/x/xerrors" + "github.com/filecoin-project/lotus/curiosrc/ffi" "github.com/filecoin-project/lotus/lib/harmony/harmonydb" "github.com/filecoin-project/lotus/lib/harmony/harmonytask" "github.com/filecoin-project/lotus/lib/harmony/resources" diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index 092af75c7..dcb832976 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -330,6 +330,22 @@ documentation.`, Comment: ``, }, + { + Name: "EnableParkPiece", + Type: "bool", + + Comment: `EnableParkPiece enables the "piece parking" task to run on this node. This task is responsible for fetching +pieces from the network and storing them in the storage subsystem until sectors are sealed. This task is +only applicable when integrating with boost, and should be enabled on nodes which will hold deal data +from boost until sectors containing the related pieces have the TreeD/TreeR constructed. +Note that future Curio implementations will have a separate task type for fetching pieces from the internet.`, + }, + { + Name: "ParkPieceMaxTasks", + Type: "int", + + Comment: ``, + }, { Name: "EnableSealSDR", Type: "bool",