From 5868772a3750bf6de59054e507e85df98da34a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 4 May 2024 18:50:19 +0800 Subject: [PATCH] Fix deduplication --- subscription/deduplication.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subscription/deduplication.go b/subscription/deduplication.go index 9665308..c61de15 100644 --- a/subscription/deduplication.go +++ b/subscription/deduplication.go @@ -45,9 +45,9 @@ func Deduplication(ctx context.Context, servers []option.Outbound) []option.Outb } return nil }) - resolveGroup.Concurrency(5) - _ = resolveGroup.Run(ctx) } + resolveGroup.Concurrency(5) + _ = resolveGroup.Run(ctx) uniqueServerMap := make(map[netip.AddrPort]bool) var newServers []option.Outbound for index, server := range servers {