mirror of https://github.com/1Panel-dev/1Panel
fix: 解决 Supervisor 停止之后一直同步状态的问题 (#2346)
parent
06f6a45289
commit
5425544a6b
|
@ -228,7 +228,7 @@ const search = async () => {
|
|||
needLoadStatus = true;
|
||||
}
|
||||
}
|
||||
if (needLoadStatus) {
|
||||
if (supervisorStatus.value.isRunning && needLoadStatus) {
|
||||
setTimeout(loadStatus, 1000);
|
||||
}
|
||||
} catch (error) {}
|
||||
|
@ -252,7 +252,7 @@ const loadStatus = async () => {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (needLoadStatus) {
|
||||
if (supervisorStatus.value.isRunning && needLoadStatus) {
|
||||
setTimeout(loadStatus, 2000);
|
||||
}
|
||||
} catch (error) {}
|
||||
|
|
Loading…
Reference in New Issue