Skip to content

Commit

Permalink
minor fixes in health check parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fatemeh-ra committed Sep 22, 2024
1 parent 265a047 commit 5ed5a07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/utils/healthCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class HealthCheckSingleton {
notificationCheckConfig: {
hasBeenUnstableForAWhile: {
windowDuration:
getConfig().notification.hasBeenUnknownForAWhileWindowDuration,
getConfig().notification.hasBeenUnstableForAWhileWindowDuration,
},
hasBeenUnknownForAWhile: {
windowDuration:
Expand Down

0 comments on commit 5ed5a07

Please sign in to comment.