Skip to content

Commit 6f52469

Browse files
committed
Fix incorrect await for monitor
When rehydrating remote queries, we were awaiting the monitoring command. Since this command may take minutes to hours to complete, it seems like this would block the extension from loading. This is the same issue as in #1698, but for remote queries instead of variant analyses.
1 parent c436688 commit 6f52469

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

extensions/ql-vscode/src/remote-queries/remote-queries-manager.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,7 @@ export class RemoteQueriesManager extends DisposableObject {
125125
} else if (status === QueryStatus.InProgress) {
126126
// In this case, last time we checked, the query was still in progress.
127127
// We need to setup the monitor to check for completion.
128-
await commands.executeCommand(
129-
"codeQL.monitorRemoteQuery",
130-
queryId,
131-
query,
132-
);
128+
void commands.executeCommand("codeQL.monitorRemoteQuery", queryId, query);
133129
}
134130
}
135131

0 commit comments

Comments
 (0)