fix: adjust delay check concurrency

This commit is contained in:
GyDi
2022-12-15 12:23:57 +08:00
parent d1ba0ed2b2
commit 2bcf6fb3eb
2 changed files with 7 additions and 16 deletions

View File

@@ -9,10 +9,10 @@ import {
} from "@/services/api";
import { useProfiles } from "@/hooks/use-profiles";
import { useVerge } from "@/hooks/use-verge";
import { BaseEmpty } from "../base";
import { useRenderList } from "./use-render-list";
import { ProxyRender } from "./proxy-render";
import delayManager from "@/services/delay";
import { BaseEmpty } from "../base";
interface Props {
mode: string;
@@ -83,7 +83,7 @@ export const ProxyGroups = (props: Props) => {
}
const names = proxies.filter((p) => !p!.provider).map((p) => p!.name);
await delayManager.checkListDelay(names, groupName, 24);
await delayManager.checkListDelay(names, groupName);
onProxies();
});