diff --git a/config/default.yaml b/config/default.yaml index 3a67f42..bffa267 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -101,11 +101,11 @@ healthCheck: ergWarnThreshold: 1000000000 # minimum recommended erg balance ergCriticalThreshold: 100000000 # minimum required erg balance ergoScanner: - warnDifference: 2 # warning difference between existing and scanned blocks height - criticalDifference: 10 # critical difference between existing and scanned blocks height + warnDifference: 5 # warning difference between existing and scanned blocks height + criticalDifference: 20 # critical difference between existing and scanned blocks height ergoNode: maxHeightDifference: 2 # maximum difference between header height and full height - maxBlockTime: 30 # maximum time to see a new block in minutes + maxBlockTime: 30 # maximum time to see a new block in minutes minPeerCount: 10 # minimum recommended peers maxPeerHeightDifference: 2 # maximum difference between peers and our node cardanoScanner: diff --git a/src/utils/healthCheck.ts b/src/utils/healthCheck.ts index 1ad8a3e..d801c3f 100644 --- a/src/utils/healthCheck.ts +++ b/src/utils/healthCheck.ts @@ -74,7 +74,7 @@ class HealthCheckSingleton { notificationCheckConfig: { hasBeenUnstableForAWhile: { windowDuration: - getConfig().notification.hasBeenUnknownForAWhileWindowDuration, + getConfig().notification.hasBeenUnstableForAWhileWindowDuration, }, hasBeenUnknownForAWhile: { windowDuration: