优化刷盘显示

This commit is contained in:
2026-04-10 15:21:56 +08:00
parent e256b65f10
commit 9cc03ee749
2 changed files with 15 additions and 2 deletions
+7
View File
@@ -47,6 +47,13 @@ export async function flushIndex() {
return data
}
export async function fetchFlushStatus() {
const { data } = await axios.get(`${BASE}/admin/flush/status`, {
timeout: 5000,
})
return data
}
export async function fetchWorkers() {
const { data } = await axios.get(`${BASE}/admin/workers`, {
timeout: 10000,