mirror of
https://github.com/miekg/dns.git
synced 2025-10-10 17:31:01 +02:00
2 sec timeout
This commit is contained in:
parent
d1d9f157df
commit
8f66b74c86
@ -144,8 +144,8 @@ func NewClient() *Client {
|
|||||||
c.Attempts = 1
|
c.Attempts = 1
|
||||||
c.ReplyChan = DefaultReplyChan
|
c.ReplyChan = DefaultReplyChan
|
||||||
c.QueryChan = DefaultQueryChan
|
c.QueryChan = DefaultQueryChan
|
||||||
c.ReadTimeout = 1 * 1e9
|
c.ReadTimeout = 2 * 1e9
|
||||||
c.WriteTimeout = 1 * 1e9
|
c.WriteTimeout = 2 * 1e9
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user