Disable keepalives in uptime robot
This commit is contained in:
parent
e1a5704159
commit
6df68443e2
|
@ -85,6 +85,7 @@ func GetMonitors() (Monitors, error) {
|
|||
Timeout: time.Second * 10,
|
||||
}).Dial,
|
||||
TLSHandshakeTimeout: time.Second * 10,
|
||||
DisableKeepAlives: true,
|
||||
}
|
||||
net := http.Client{
|
||||
Timeout: time.Second * 10,
|
||||
|
|
Loading…
Reference in New Issue