轮询间隔改1S

This commit is contained in:
2026-04-10 15:27:05 +08:00
parent 9cc03ee749
commit 01dcc396f5
+1 -1
View File
@@ -133,7 +133,7 @@ async function doFlush() {
await flushIndex()
// 轮询刷盘状态,直到完成
while (true) {
await new Promise(r => setTimeout(r, 500)) // 等待 500ms
await new Promise(r => setTimeout(r, 1000)) // 等待 1s
const status = await fetchFlushStatus()
if (!status.flushing) break
}