config: Fix doc on PreferNewSectorsForDeals; gofmt
This commit is contained in:
parent
49a6d7ebcc
commit
433e9c351d
@ -337,6 +337,7 @@
|
||||
# env var: LOTUS_SEALING_MAXSEALINGSECTORSFORDEALS
|
||||
#MaxSealingSectorsForDeals = 0
|
||||
|
||||
# Prefer creating new sectors even if there are sectors Available for upgrading.
|
||||
# This setting combined with MaxUpgradingSectors set to a value higher than MaxSealingSectorsForDeals makes it
|
||||
# possible to use fast sector upgrades to handle high volumes of storage deals, while still using the simple sealing
|
||||
# flow when the volume of storage deals is lower.
|
||||
|
@ -74,4 +74,4 @@ func TestMakeAvailable(t *testing.T) {
|
||||
miner.WaitSectorsProving(ctx, map[abi.SectorNumber]struct{}{
|
||||
CCUpgrade: {},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -87,4 +87,3 @@ func TestPreferNoUpgrade(t *testing.T) {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -726,7 +726,8 @@ Note that setting this number too high in relation to deal ingestion rate may re
|
||||
Name: "PreferNewSectorsForDeals",
|
||||
Type: "bool",
|
||||
|
||||
Comment: `This setting combined with MaxUpgradingSectors set to a value higher than MaxSealingSectorsForDeals makes it
|
||||
Comment: `Prefer creating new sectors even if there are sectors Available for upgrading.
|
||||
This setting combined with MaxUpgradingSectors set to a value higher than MaxSealingSectorsForDeals makes it
|
||||
possible to use fast sector upgrades to handle high volumes of storage deals, while still using the simple sealing
|
||||
flow when the volume of storage deals is lower.`,
|
||||
},
|
||||
|
@ -234,8 +234,7 @@ type SealingConfig struct {
|
||||
// Upper bound on how many sectors can be sealing+upgrading at the same time when creating new sectors with deals (0 = unlimited)
|
||||
MaxSealingSectorsForDeals uint64
|
||||
|
||||
// Prefer creating new sectors even if there are sectors Available for upgrading
|
||||
//
|
||||
// Prefer creating new sectors even if there are sectors Available for upgrading.
|
||||
// This setting combined with MaxUpgradingSectors set to a value higher than MaxSealingSectorsForDeals makes it
|
||||
// possible to use fast sector upgrades to handle high volumes of storage deals, while still using the simple sealing
|
||||
// flow when the volume of storage deals is lower.
|
||||
|
Loading…
Reference in New Issue
Block a user