Skip to content

Commit

Permalink
Merge pull request #314 from KxSystems/KXI-46201
Browse files Browse the repository at this point in the history
Multiple tickets fixes for 1.5
  • Loading branch information
Philip-Carneiro-KX authored May 22, 2024
2 parents a10d52f + b060556 commit 96766ee
Show file tree
Hide file tree
Showing 19 changed files with 904 additions and 1,069 deletions.
10 changes: 0 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,6 @@
"description": "Hide detailed console query output",
"default": true
},
"kdb.networkChangesWatcher": {
"type": "boolean",
"description": "Watch for network changes, if changes are detected, check if the Insights connection is still valid",
"default": true
},
"kdb.insightsHydrate": {
"type": "boolean",
"description": "Hydrate the insights connection every 1 minute to keep it alive",
"default": true
},
"kdb.qHomeDirectory": {
"type": "string",
"description": "QHOME directory for q runtime"
Expand Down
5 changes: 4 additions & 1 deletion src/classes/insightsConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ export class InsightsConnection {
await getCurrentToken(
this.node.details.server,
this.node.details.alias,
).then((token) => {
).then(async (token) => {
this.connected = token ? true : false;
if (token) {
await this.getMeta();
}
});
return this.connected;
}
Expand Down
Loading

0 comments on commit 96766ee

Please sign in to comment.