fix: reduce exit cleanup timeout in slash command processor
Decreased the exit cleanup timeout from 1000ms to 100ms to speed up the shutdown process when using slash commands. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
b01ddf0aed
commit
4721a6f324
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ export const useSlashCommandProcessor = (
|
|||
setTimeout(async () => {
|
||||
await runExitCleanup();
|
||||
process.exit(0);
|
||||
}, 1000);
|
||||
}, 100);
|
||||
return { type: 'handled' };
|
||||
|
||||
case 'submit_prompt':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue