mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
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:
@@ -503,7 +503,7 @@ export const useSlashCommandProcessor = (
|
|||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
await runExitCleanup();
|
await runExitCleanup();
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}, 1000);
|
}, 100);
|
||||||
return { type: 'handled' };
|
return { type: 'handled' };
|
||||||
|
|
||||||
case 'submit_prompt':
|
case 'submit_prompt':
|
||||||
|
|||||||
Reference in New Issue
Block a user