From 7ac3c74c50405194db78097f8b6021410d96d98b Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Wed, 2 Sep 2020 12:12:48 +0300 Subject: [PATCH] Try to reconnect non-accessible clusters on activate Signed-off-by: Lauri Nevala --- src/main/cluster.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cluster.ts b/src/main/cluster.ts index 5176846ba4..873c026751 100644 --- a/src/main/cluster.ts +++ b/src/main/cluster.ts @@ -130,7 +130,7 @@ export class Cluster implements ClusterModel { if (!this.eventDisposers.length) { this.bindEvents(); } - if (this.disconnected) { + if (this.disconnected || !this.accessible) { await this.reconnect(); } await this.refresh();