From 154cf09f523ee0a41e6b4ca5a808cb7dc5d8eb13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Sun, 17 Mar 2024 17:40:56 +0100 Subject: [PATCH] make gen --- curiosrc/piece/task_cleanup_piece.go | 2 +- node/config/doc_gen.go | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) 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",