Skip to content

Commit 8aaa249

Browse files
committed
Wait a few seconds before monitoring remote query run
1 parent c9a649f commit 8aaa249

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ export class RemoteQueriesMonitor {
2929

3030
let attemptCount = 0;
3131

32+
// Wait a bit before starting to monitor the workflow run.
33+
await this.sleep(RemoteQueriesMonitor.sleepTime);
34+
3235
while (attemptCount <= RemoteQueriesMonitor.maxAttemptCount) {
3336
if (cancellationToken && cancellationToken.isCancellationRequested) {
3437
return { status: 'Cancelled' };

0 commit comments

Comments
 (0)