ssh tunnel WIP

This commit is contained in:
SPRINX0\prochazka
2025-01-03 16:44:57 +01:00
parent 59788faefd
commit aff282d31e
6 changed files with 29 additions and 8 deletions

View File

@@ -166,7 +166,9 @@ function start() {
if (time - lastPing > 40 * 1000) {
logger.info('Server connection not alive, exiting');
const driver = requireEngineDriver(storedConnection);
await driver.close(dbhan);
if (dbhan) {
await driver.close(dbhan);
}
process.exit(0);
}
}, 10 * 1000);