feat(diagnostics): add configurable stuck-session warning threshold

This commit is contained in:
Peter Steinberger
2026-03-02 00:07:02 +00:00
parent d729ab2150
commit 41cc46bbb4
8 changed files with 95 additions and 4 deletions

View File

@@ -371,7 +371,7 @@ export async function startGatewayServer(
).config;
const diagnosticsEnabled = isDiagnosticsEnabled(cfgAtStart);
if (diagnosticsEnabled) {
startDiagnosticHeartbeat();
startDiagnosticHeartbeat(cfgAtStart);
}
setGatewaySigusr1RestartPolicy({ allowExternal: isRestartEnabled(cfgAtStart) });
setPreRestartDeferralCheck(