Merge pull request #8689 from filecoin-project/docs/commit-config
docs:sealing:fix default miner config comments
This commit is contained in:
commit
2cea84dcce
@ -444,12 +444,14 @@
|
|||||||
# env var: LOTUS_SEALING_AGGREGATECOMMITS
|
# env var: LOTUS_SEALING_AGGREGATECOMMITS
|
||||||
#AggregateCommits = true
|
#AggregateCommits = true
|
||||||
|
|
||||||
# maximum batched commit size - batches will be sent immediately above this size
|
# minimum batched commit size - batches above this size will eventually be sent on a timeout
|
||||||
#
|
#
|
||||||
# type: int
|
# type: int
|
||||||
# env var: LOTUS_SEALING_MINCOMMITBATCH
|
# env var: LOTUS_SEALING_MINCOMMITBATCH
|
||||||
#MinCommitBatch = 4
|
#MinCommitBatch = 4
|
||||||
|
|
||||||
|
# maximum batched commit size - batches will be sent immediately above this size
|
||||||
|
#
|
||||||
# type: int
|
# type: int
|
||||||
# env var: LOTUS_SEALING_MAXCOMMITBATCH
|
# env var: LOTUS_SEALING_MAXCOMMITBATCH
|
||||||
#MaxCommitBatch = 819
|
#MaxCommitBatch = 819
|
||||||
|
@ -897,13 +897,13 @@ This is useful for forcing all deals to be assigned as snap deals to sectors mar
|
|||||||
Name: "MinCommitBatch",
|
Name: "MinCommitBatch",
|
||||||
Type: "int",
|
Type: "int",
|
||||||
|
|
||||||
Comment: `maximum batched commit size - batches will be sent immediately above this size`,
|
Comment: `minimum batched commit size - batches above this size will eventually be sent on a timeout`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "MaxCommitBatch",
|
Name: "MaxCommitBatch",
|
||||||
Type: "int",
|
Type: "int",
|
||||||
|
|
||||||
Comment: ``,
|
Comment: `maximum batched commit size - batches will be sent immediately above this size`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "CommitBatchWait",
|
Name: "CommitBatchWait",
|
||||||
|
@ -290,8 +290,9 @@ type SealingConfig struct {
|
|||||||
|
|
||||||
// enable / disable commit aggregation (takes effect after nv13)
|
// enable / disable commit aggregation (takes effect after nv13)
|
||||||
AggregateCommits bool
|
AggregateCommits bool
|
||||||
// maximum batched commit size - batches will be sent immediately above this size
|
// minimum batched commit size - batches above this size will eventually be sent on a timeout
|
||||||
MinCommitBatch int
|
MinCommitBatch int
|
||||||
|
// maximum batched commit size - batches will be sent immediately above this size
|
||||||
MaxCommitBatch int
|
MaxCommitBatch int
|
||||||
// how long to wait before submitting a batch after crossing the minimum batch size
|
// how long to wait before submitting a batch after crossing the minimum batch size
|
||||||
CommitBatchWait Duration
|
CommitBatchWait Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user