disabling cb delivery delay for sync tests
This commit is contained in:
parent
d574d04075
commit
3988cc9b2c
@ -45,6 +45,11 @@ func init() {
|
|||||||
policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1)
|
policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1)
|
||||||
policy.SetConsensusMinerMinPower(abi.NewStoragePower(2048))
|
policy.SetConsensusMinerMinPower(abi.NewStoragePower(2048))
|
||||||
policy.SetMinVerifiedDealSize(abi.NewStoragePower(256))
|
policy.SetMinVerifiedDealSize(abi.NewStoragePower(256))
|
||||||
|
|
||||||
|
// these tests assume really fast block times. disabling
|
||||||
|
// the consistent broadcast delay to avoid them from adding
|
||||||
|
// an unnecessary overhead.
|
||||||
|
build.CBDeliveryDelay = 2 * time.Millisecond
|
||||||
}
|
}
|
||||||
|
|
||||||
const source = 0
|
const source = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user