Merge pull request #393 from XinFinOrg/fix-timeout-too-fast

fix timeout too fast issue
This commit is contained in:
Liam 2024-01-16 18:49:39 +08:00 committed by GitHub
commit c36df9f01b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ var (
SwitchRound: 0, SwitchRound: 0,
CertThreshold: 0.667, CertThreshold: 0.667,
TimeoutSyncThreshold: 3, TimeoutSyncThreshold: 3,
TimeoutPeriod: 20, TimeoutPeriod: 30,
MinePeriod: 2, MinePeriod: 2,
}, },
} }
@ -64,7 +64,7 @@ var (
SwitchRound: 900000, SwitchRound: 900000,
CertThreshold: 0.667, CertThreshold: 0.667,
TimeoutSyncThreshold: 3, TimeoutSyncThreshold: 3,
TimeoutPeriod: 20, TimeoutPeriod: 30,
MinePeriod: 2, MinePeriod: 2,
}, },
} }
@ -74,8 +74,8 @@ var (
MaxMasternodes: 108, MaxMasternodes: 108,
SwitchRound: 0, SwitchRound: 0,
CertThreshold: 0.667, CertThreshold: 0.667,
TimeoutSyncThreshold: 5, TimeoutSyncThreshold: 3,
TimeoutPeriod: 10, TimeoutPeriod: 30,
MinePeriod: 2, MinePeriod: 2,
}, },
} }