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