INNER CODE UNIT · JavaScript
KEEPALIVE_INTERVAL
bvisible/mcp-ssh-manager · src/index.js:241
const KEEPALIVE_INTERVAL = 5 * 60 * 1000;
// Map to store keepalive intervals
const keepaliveIntervals = new Map();
// Extra grace window so the remote `timeout` wrapper can exit cleanly
// and return its timeout exit code before the local SSH exec timeout fires.
const WRAPPED_COMMAND_TIMEOUT_GRACE_MS = 5000;
// Map to track proxy jump dependencies (target -> jump server)
const jumpDependencies = new Map();
// Load server configuration (backward compatibility wrapper)
async function loadServerConfig() {
// This function is kept for backward compatibility
return serverConfigManager.getServers();
}