mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-03-31 16:20:28 +02:00
Update app.js
This commit is contained in:
@@ -5,7 +5,7 @@ let currentConversationId = null;
|
||||
const progressTaskState = new Map();
|
||||
// 活跃任务刷新定时器
|
||||
let activeTaskInterval = null;
|
||||
const ACTIVE_TASK_REFRESH_INTERVAL = 20000;
|
||||
const ACTIVE_TASK_REFRESH_INTERVAL = 5000; // 5秒检查一次,提供更实时的任务状态反馈
|
||||
|
||||
function registerProgressTask(progressId, conversationId = null) {
|
||||
const state = progressTaskState.get(progressId) || {};
|
||||
|
||||
Reference in New Issue
Block a user