Extend first timeout to 60 seconds.
This commit is contained in:
parent
011217e4bf
commit
737d93860a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue