1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: connection info icons in footer

This commit is contained in:
2023-01-05 17:21:22 +01:00
parent b4e1e9ac26
commit ff4bc6c39b
6 changed files with 1684 additions and 6039 deletions

View File

@@ -148,10 +148,11 @@ export class MySQLClient extends AntaresCore {
if (this._params.ssh) {
try {
if (this._params.ssh.password === '') delete this._params.ssh.password;
if (this._params.ssh.passphrase === '') delete this._params.ssh.passphrase;
this._ssh = new SSH2Promise({
...this._params.ssh,
keepaliveInterval: 20000,
keepaliveInterval: 30*60*1000,
debug: process.env.NODE_ENV !== 'production' ? (s) => console.log(s) : null
});