feat: optimize delay checker concurrency strategy
This commit is contained in:
@@ -92,12 +92,11 @@ const ProxyGroup = ({ group }: Props) => {
|
||||
const names = sortedProxies.map((p) => p.name);
|
||||
const groupName = group.name;
|
||||
|
||||
await delayManager.checkListDelay(
|
||||
{ names, groupName, skipNum: 8, maxTimeout: 600 },
|
||||
() => mutate("getProxies")
|
||||
await delayManager.checkListDelay({ names, groupName, skipNum: 8 }, () =>
|
||||
mutate("getProxies")
|
||||
);
|
||||
|
||||
mutate("getProxies");
|
||||
console.log("finish");
|
||||
});
|
||||
|
||||
// auto scroll to current index
|
||||
|
||||
Reference in New Issue
Block a user