Extend first timeout to 60 seconds.

This commit is contained in:
Alexander Neumann 2018-03-18 12:54:59 +01:00
parent 011217e4bf
commit 737d93860a
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func New(cfg Config) (*Backend, error) {
// send an HTTP request to the base URL, see if the server is there
client := &http.Client{
Transport: tr,
Timeout: 5 * time.Second,
Timeout: 60 * time.Second,
}
req, err := http.NewRequest(http.MethodGet, "http://localhost/", nil)