fix timeout too fast issue

This commit is contained in:
Liam Lai 2024-01-16 16:15:05 +08:00
parent d24f187bfd
commit 3e6ce89f79

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,
}, },
} }