Cleanup - Bug Fixes
This commit is contained in:
@@ -334,6 +334,7 @@ function startHealthChecks() {
|
||||
}
|
||||
|
||||
healthCheckInterval = setInterval(async () => {
|
||||
try {
|
||||
const keysToCheck = Array.from(state.holesails.keys());
|
||||
|
||||
if (keysToCheck.length === 0) {
|
||||
@@ -397,6 +398,9 @@ function startHealthChecks() {
|
||||
logDebug('Holesail', `Health check passed for ${key}`);
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
logError('Holesail', `Health check cycle failed: ${err.message}`);
|
||||
}
|
||||
}, intervalMs);
|
||||
|
||||
logInfo('Holesail', `Started periodic health checks (interval: ${intervalMs}ms)`);
|
||||
|
||||
Reference in New Issue
Block a user