Fix deduplication

This commit is contained in:
世界 2024-05-04 18:50:19 +08:00
parent d47b3edba5
commit 5868772a37
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -45,9 +45,9 @@ func Deduplication(ctx context.Context, servers []option.Outbound) []option.Outb
}
return nil
})
}
resolveGroup.Concurrency(5)
_ = resolveGroup.Run(ctx)
}
uniqueServerMap := make(map[netip.AddrPort]bool)
var newServers []option.Outbound
for index, server := range servers {