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 https://github.com/github/vscode-codeql/pull/1698, but for remote queries instead of variant analyses.
This commit is contained in:
@@ -125,11 +125,7 @@ export class RemoteQueriesManager extends DisposableObject {
|
||||
} else if (status === QueryStatus.InProgress) {
|
||||
// In this case, last time we checked, the query was still in progress.
|
||||
// We need to setup the monitor to check for completion.
|
||||
await commands.executeCommand(
|
||||
"codeQL.monitorRemoteQuery",
|
||||
queryId,
|
||||
query,
|
||||
);
|
||||
void commands.executeCommand("codeQL.monitorRemoteQuery", queryId, query);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user