We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aaa249 commit 8e20d01Copy full SHA for 8e20d01
1 file changed
extensions/ql-vscode/src/remote-queries/remote-queries-monitor.ts
@@ -29,10 +29,9 @@ export class RemoteQueriesMonitor {
29
30
let attemptCount = 0;
31
32
- // Wait a bit before starting to monitor the workflow run.
33
- await this.sleep(RemoteQueriesMonitor.sleepTime);
34
-
35
while (attemptCount <= RemoteQueriesMonitor.maxAttemptCount) {
+ await this.sleep(RemoteQueriesMonitor.sleepTime);
+
36
if (cancellationToken && cancellationToken.isCancellationRequested) {
37
return { status: 'Cancelled' };
38
}
@@ -47,7 +46,6 @@ export class RemoteQueriesMonitor {
47
46
return workflowStatus;
48
49
50
51
attemptCount++;
52
53
0 commit comments