feat: fix amphp/dns version to 2.4.0

This commit is contained in:
Rekryt
2026-01-18 16:23:25 +03:00
parent 6616bee53d
commit a2d4eb8025
2 changed files with 3 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ class DNSHelper {
}
public function loadConfig(): DnsConfig {
return new DnsConfig($this->dnsServers, (new HostLoader())->loadHosts());
return (new DnsConfig($this->dnsServers, (new HostLoader())->loadHosts()))
->withAttempts(1);
}
}
)