From 15a5deae61b72547ff2fc4a598234d11e03cb3a1 Mon Sep 17 00:00:00 2001 From: wphan Date: Thu, 4 Sep 2025 13:04:03 -0700 Subject: [PATCH] loosen slot rate check --- src/core/healthCheck.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/healthCheck.ts b/src/core/healthCheck.ts index fd54f48..5676b31 100644 --- a/src/core/healthCheck.ts +++ b/src/core/healthCheck.ts @@ -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; /**