From d90ab2b81fea5ba1d5d0e91134d1f843d99f20e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 25 May 2021 16:20:49 +0200 Subject: [PATCH] config: Document batching fields --- node/config/def.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/node/config/def.go b/node/config/def.go index c0aa82a59..1c82e9b17 100644 --- a/node/config/def.go +++ b/node/config/def.go @@ -84,16 +84,24 @@ type SealingConfig struct { AlwaysKeepUnsealedCopy bool + // enable / disable precommit batching (takes effect after nv13) BatchPreCommits bool + // maximum precommit batch size - batches will be sent immediately above this size MaxPreCommitBatch int MinPreCommitBatch int + // how long to wait before submitting a batch after crossing the minimum batch size PreCommitBatchWait Duration + // time buffer for forceful batch submission before sectors in batch would start expiring PreCommitBatchSlack Duration + // enable / disable commit aggregation (takes effect after nv13) AggregateCommits bool + // maximum batched commit size - batches will be sent immediately above this size MinCommitBatch int MaxCommitBatch int + // how long to wait before submitting a batch after crossing the minimum batch size CommitBatchWait Duration + // time buffer for forceful batch submission before sectors in batch would start expiring CommitBatchSlack Duration TerminateBatchMax uint64