Update comment

Make clear that 1278 days are applicable in nv21 not before.
This commit is contained in:
Phi 2023-10-11 16:30:30 +01:00
parent ce27d5fcf2
commit db96bc0143
3 changed files with 3 additions and 3 deletions

View File

@ -523,7 +523,7 @@
# CommittedCapacitySectorLifetime is the duration a Committed Capacity (CC) sector will # CommittedCapacitySectorLifetime is the duration a Committed Capacity (CC) sector will
# live before it must be extended or converted into sector containing deals before it is # live before it must be extended or converted into sector containing deals before it is
# terminated. Value must be between 180-1278 days. # terminated. Value must be between 180-1278 days (1278 in nv21, 540 before nv21).
# #
# type: Duration # type: Duration
# env var: LOTUS_SEALING_COMMITTEDCAPACITYSECTORLIFETIME # env var: LOTUS_SEALING_COMMITTEDCAPACITYSECTORLIFETIME

View File

@ -1150,7 +1150,7 @@ required to have expiration of at least the soonest-ending deal`,
Comment: `CommittedCapacitySectorLifetime is the duration a Committed Capacity (CC) sector will Comment: `CommittedCapacitySectorLifetime is the duration a Committed Capacity (CC) sector will
live before it must be extended or converted into sector containing deals before it is live before it must be extended or converted into sector containing deals before it is
terminated. Value must be between 180-1278 days.`, terminated. Value must be between 180-1278 days (1278 in nv21, 540 before nv21).`,
}, },
{ {
Name: "WaitDealsDelay", Name: "WaitDealsDelay",

View File

@ -358,7 +358,7 @@ type SealingConfig struct {
// CommittedCapacitySectorLifetime is the duration a Committed Capacity (CC) sector will // CommittedCapacitySectorLifetime is the duration a Committed Capacity (CC) sector will
// live before it must be extended or converted into sector containing deals before it is // live before it must be extended or converted into sector containing deals before it is
// terminated. Value must be between 180-1278 days. // terminated. Value must be between 180-1278 days (1278 in nv21, 540 before nv21).
CommittedCapacitySectorLifetime Duration CommittedCapacitySectorLifetime Duration
// Period of time that a newly created sector will wait for more deals to be packed in to before it starts to seal. // Period of time that a newly created sector will wait for more deals to be packed in to before it starts to seal.