mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-21 18:20:15 +02:00
Added health system to count how many times a node
fails to conenct.
This commit is contained in:
@@ -15,7 +15,7 @@ func getExampleConfiguration() *WgMeshConfiguration {
|
||||
SyncRate: 1,
|
||||
InterClusterChance: 0.1,
|
||||
BranchRate: 2,
|
||||
KeepAliveRate: 1,
|
||||
KeepAliveTime: 1,
|
||||
InfectionCount: 1,
|
||||
}
|
||||
}
|
||||
@@ -110,7 +110,7 @@ func InfectionCountZero(t *testing.T) {
|
||||
|
||||
func KeepAliveRateZero(t *testing.T) {
|
||||
conf := getExampleConfiguration()
|
||||
conf.KeepAliveRate = 0
|
||||
conf.KeepAliveTime = 0
|
||||
|
||||
err := ValidateConfiguration(conf)
|
||||
|
||||
|
Reference in New Issue
Block a user