优化刷盘显示
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user