Skip to content

Commit c1e3885

Browse files
authored
Fix issue that causes client-side connections to be forced active (#1748)
1 parent 35c07be commit c1e3885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class AtelierAPI {
233233
} = getResolvedConnectionSpec(serverName, config("intersystems.servers", workspaceFolderName).get(serverName));
234234
this._config = {
235235
serverName,
236-
active: !inactiveServerIds.has(serverName),
236+
active: this.externalServer ? !inactiveServerIds.has(serverName) : conn.active,
237237
apiVersion: workspaceState.get(this.configName.toLowerCase() + ":apiVersion", DEFAULT_API_VERSION),
238238
serverVersion: workspaceState.get(this.configName.toLowerCase() + ":serverVersion", DEFAULT_SERVER_VERSION),
239239
https: scheme === "https",

0 commit comments

Comments
 (0)