Increase http timeout to 30s for piav4

- Refers to #271
This commit is contained in:
Quentin McGaw
2020-10-26 21:53:18 +00:00
parent 0c81154f36
commit 78d83145ba

View File

@@ -292,7 +292,7 @@ func newPIAv4HTTPClient(serverName string) (client *http.Client, err error) {
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
}
const httpTimeout = 5 * time.Second
const httpTimeout = 30 * time.Second
client = &http.Client{Transport: &transport, Timeout: httpTimeout}
return client, nil
}