Skip to content
Snippets Groups Projects
Unverified Commit 97d82b03 authored by GyDi's avatar GyDi
Browse files

fix: keep delay data

parent f06fa3f9
No related branches found
No related tags found
No related merge requests found
......@@ -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显示
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment