Skip to content

Commit

Permalink
Triple the timeout values we're using
Browse files Browse the repository at this point in the history
There are occasional reports of download failure from users, so
lets triple these values to see if that improves things.
  • Loading branch information
justinclift committed Jul 22, 2024
1 parent 9049708 commit b77a4a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ func main() {
s := &http.Server{
ErrorLog: HttpErrorLog(),
Handler: router,
ReadTimeout: 10 * time.Second,
WriteTimeout: 10 * time.Second,
ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second,
}

// If TLS Cert and key file paths are given, then we're using TLS
Expand Down

0 comments on commit b77a4a3

Please sign in to comment.