fix: relax slash command execution timeout (#193844)

This commit is contained in:
Joyce Er
2023-09-22 13:58:06 -07:00
committed by GitHub
parent a9f4687c10
commit 87b6f0bdd1

View File

@@ -59,7 +59,7 @@ export class ExtHostChatSlashCommands implements ExtHostChatSlashCommandsShape {
const commandExecution = new DeferredPromise<void>();
token.onCancellationRequested(() => commandExecution.complete());
setTimeout(() => commandExecution.complete(), 3 * 1000);
setTimeout(() => commandExecution.complete(), 10 * 1000);
this._extHostChatProvider.allowListExtensionWhile(data.extension, commandExecution.p);
const task = data.command(