diff --git a/src/services/delay.ts b/src/services/delay.ts index 3086808..bc45fe2 100644 --- a/src/services/delay.ts +++ b/src/services/delay.ts @@ -57,7 +57,10 @@ class DelayManager { /// 暂时修复provider的节点延迟排序的问题 getDelayFix(proxy: IProxyItem, group: string) { - if (!proxy.provider) return this.getDelay(proxy.name, group); + if (!proxy.provider) { + const delay = this.getDelay(proxy.name, group); + if (delay >= 0 || delay === -2) return delay; + } if (proxy.history.length > 0) { // 0ms以error显示