Skip to content

Commit 8656fd0

Browse files
committed
[🛠️ Fix] Unexpected infinite reconn for ACM
1 parent 80354cc commit 8656fd0

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/aura/ui/js/aikariConnectionManager.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@
135135
);
136136

137137
aikariWs.onopen = () => {
138-
failedCounter = 0;
139-
isErrorOccurred = false;
140138
callback(true, aikariWs);
141139
};
142140

src/aura/ui/pages/configSubPages/behaviourCtrl/aikariStatus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,14 @@ if (!global.__HUGO_AURA_UI_REACTIVES__.subConfig)
329329
if (!isHostNotInit) {
330330
global.__HUGO_AURA_UI_FUNCTIONS__.subConfig.aikariStatus.updateToast(
331331
"success",
332-
"Aikari 已启动",
332+
"Aikari 已启动, 将在 2 秒后尝试连接",
333333
null,
334334
true,
335335
true,
336336
2000
337337
);
338338
}
339-
await global.__HUGO_AURA_GLOBAL__.utils.sleep(100);
339+
await global.__HUGO_AURA_GLOBAL__.utils.sleep(2000);
340340
await ipcRenderer.invoke(
341341
`${IPC_METHOD_BASE}.retryAikariConnect`
342342
);

0 commit comments

Comments
 (0)