phuslu / fastdns

Fast DNS package for Go. Tuned for high performance. Zero memory allocations in almost paths. Up to 1M QPS on a single host.
MIT License
162 stars 12 forks source link

client retries should be controlled externally #5

Open millken opened 1 week ago

millken commented 1 week ago

If the number of retries is set 3, it will become 6 here https://github.com/phuslu/fastdns/blob/69506fc67dd18cca20dfda2c3f1c4639e5235942/client.go#L42-L45

phuslu commented 1 week ago

agree, let me fix it.