Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
busatol authored Jul 21, 2021
1 parent e8804b5 commit 52bc3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (r *Request) deleteLogentries(url string, expected int) (bool, error) {
}

func (r *Request) performRequest(req *http.Request, expected int) ([]byte, error) {
client := &http.Client{Timeout: time.Duration(5) * time.Second}
client := &http.Client{Timeout: time.Duration(10) * time.Second}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("x-api-key", r.ApiKey)

Expand Down

0 comments on commit 52bc3d2

Please sign in to comment.