feat(servers): update FastestVPN servers

This commit is contained in:
Quentin McGaw
2022-10-28 11:02:39 +00:00
parent e7d5ae5dc1
commit 63890c159e
2 changed files with 221 additions and 166 deletions

View File

@@ -10,13 +10,14 @@ func parallelResolverSettings(hosts []string) (settings resolver.ParallelSetting
const (
maxFailRatio = 0.1
maxNoNew = 1
maxFails = 2
maxFails = 4
maxDuration = 3 * time.Second
)
return resolver.ParallelSettings{
Hosts: hosts,
MaxFailRatio: maxFailRatio,
Repeat: resolver.RepeatSettings{
MaxDuration: time.Second,
MaxDuration: maxDuration,
MaxNoNew: maxNoNew,
MaxFails: maxFails,
SortIPs: true,