We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b239a46 commit 4e252f4Copy full SHA for 4e252f4
frontend/src/views/HomeView/components/GroupsController.vue
@@ -107,17 +107,18 @@ const handleGroupDelay = async (group: string) => {
107
const delayTest = async (proxy: string) => {
108
index += 1
109
update(`Testing... ${index} / ${_group.all.length}, success: ${success} failure: ${failure}`)
110
+ const _proxy = kernelApiStore.proxies[proxy]
111
try {
112
loadingSet.value.add(proxy)
113
const { delay } = await getProxyDelay(
114
encodeURIComponent(proxy),
115
appSettings.app.kernel.testUrl || DefaultTestURL,
116
)
117
success += 1
- const _proxy = kernelApiStore.proxies[proxy]
118
_proxy.history.push({ delay })
119
} catch {
120
failure += 1
121
+ _proxy.history.push({ delay: 0 })
122
}
123
loadingSet.value.delete(proxy)
124
0 commit comments