From 6b5645976a2aabaa3428d9d35f9a7933e0a405aa Mon Sep 17 00:00:00 2001 From: Artem Date: Wed, 1 Feb 2023 17:28:14 +0200 Subject: [PATCH 1/2] #Ri-4131 fix call stack exceeded --- redisinsight/api/src/modules/ssh/models/ssh-tunnel.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/redisinsight/api/src/modules/ssh/models/ssh-tunnel.ts b/redisinsight/api/src/modules/ssh/models/ssh-tunnel.ts index 78eab3a21a..55cf2d4aae 100644 --- a/redisinsight/api/src/modules/ssh/models/ssh-tunnel.ts +++ b/redisinsight/api/src/modules/ssh/models/ssh-tunnel.ts @@ -34,7 +34,6 @@ export class SshTunnel extends EventEmitter { this.client?.end?.(); this.server?.removeAllListeners?.(); this.client?.removeAllListeners?.(); - this.emit('close'); this.removeAllListeners(); } From 488e461f2fb4e6b4360f11147eed0f007fc67b2c Mon Sep 17 00:00:00 2001 From: Artem Date: Thu, 2 Feb 2023 14:03:41 +0200 Subject: [PATCH 2/2] #RI-4131 ignore optional deps since seems like due to cpu-features (used by ssh2) we are crashing when trying to connect to ssh --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 450e43525f..8e05a31a8b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -519,7 +519,8 @@ jobs: runtime/org.freedesktop.Platform/x86_64/20.08 \ org.electronjs.Electron2.BaseApp/x86_64/20.08 - yarn --cwd redisinsight/api/ install + yarn --cwd redisinsight/api/ install --ignore-optional + yarn --cwd redisinsight/ install --ignore-optional yarn install yarn build:statics no_output_timeout: 15m