forked from mirror/serenity
Fix deduplication
This commit is contained in:
parent
d47b3edba5
commit
5868772a37
@ -45,9 +45,9 @@ func Deduplication(ctx context.Context, servers []option.Outbound) []option.Outb
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
resolveGroup.Concurrency(5)
|
|
||||||
_ = resolveGroup.Run(ctx)
|
|
||||||
}
|
}
|
||||||
|
resolveGroup.Concurrency(5)
|
||||||
|
_ = resolveGroup.Run(ctx)
|
||||||
uniqueServerMap := make(map[netip.AddrPort]bool)
|
uniqueServerMap := make(map[netip.AddrPort]bool)
|
||||||
var newServers []option.Outbound
|
var newServers []option.Outbound
|
||||||
for index, server := range servers {
|
for index, server := range servers {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user