Skip to content

Commit dc37566

Browse files
committed
decrease time
1 parent 0e5c011 commit dc37566

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
370370
// update tasks so an incomplete list isn't returned when getWorkspaceTasks is called
371371
this._workspaceTasksPromise = undefined;
372372
this._onDidRegisterSupportedExecutions.fire();
373+
if (custom && shell && process) {
374+
this._onDidRegisterAllSupportedExecutions.fire();
375+
}
373376
}
374377

375378
private _attemptTaskReconnection(): void {
@@ -2208,7 +2211,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
22082211
}
22092212
await this._waitForSupportedExecutions;
22102213
if (runSource === TaskRunSource.Reconnect) {
2211-
await raceTimeout(this._waitForAllSupportedExecutions, 3000, () => {
2214+
await raceTimeout(this._waitForAllSupportedExecutions, 500, () => {
22122215
console.warn('Timed out waiting for all supported executions for task reconnection');
22132216
});
22142217
}

0 commit comments

Comments
 (0)