tweak: 任务图谱轮询间隔 3s → 20s
This commit is contained in:
1 parent
fcc1e75a85
commit
08cdac2362
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export function GraphTab({ taskId }: { taskId: string }) {
|
||||
});
|
||||
};
|
||||
load();
|
||||
const timer = setInterval(load, 3000);
|
||||
const timer = setInterval(load, 20000);
|
||||
return () => {
|
||||
cancelled = true;
|
||||
clearInterval(timer);
|
||||
|
||||
Reference in new issue
Block a user