loosen slot rate check

This commit is contained in:
wphan
2025-09-04 13:04:03 -07:00
parent 87a7d03d8f
commit 15a5deae61

View File

@@ -13,8 +13,9 @@ const HEALTH_CHECK_CONFIG = {
CHECK_INTERVAL_MS: 2000,
// Maximum time allowed between slot updates
MAX_SLOT_STALENESS_MS: 5000,
// Minimum expected slot advancement rate (slots slower than 1 per second is problematic)
MIN_SLOT_RATE: 1,
// Minimum expected slot advancement rate. Sometimes usermap is used for slot source, so the slot rate
// may be much lower than 2 per sec. 0.03 is 1 slot per 33s
MIN_SLOT_RATE: 0.03,
} as const;
/**