mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
fix: relax slash command execution timeout (#193844)
This commit is contained in:
@@ -59,7 +59,7 @@ export class ExtHostChatSlashCommands implements ExtHostChatSlashCommandsShape {
|
|||||||
|
|
||||||
const commandExecution = new DeferredPromise<void>();
|
const commandExecution = new DeferredPromise<void>();
|
||||||
token.onCancellationRequested(() => commandExecution.complete());
|
token.onCancellationRequested(() => commandExecution.complete());
|
||||||
setTimeout(() => commandExecution.complete(), 3 * 1000);
|
setTimeout(() => commandExecution.complete(), 10 * 1000);
|
||||||
this._extHostChatProvider.allowListExtensionWhile(data.extension, commandExecution.p);
|
this._extHostChatProvider.allowListExtensionWhile(data.extension, commandExecution.p);
|
||||||
|
|
||||||
const task = data.command(
|
const task = data.command(
|
||||||
|
|||||||
Reference in New Issue
Block a user