Skip to content

Commit b77a4a3

Browse files
committed
Triple the timeout values we're using
There are occasional reports of download failure from users, so lets triple these values to see if that improves things.
1 parent 9049708 commit b77a4a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ func main() {
109109
s := &http.Server{
110110
ErrorLog: HttpErrorLog(),
111111
Handler: router,
112-
ReadTimeout: 10 * time.Second,
113-
WriteTimeout: 10 * time.Second,
112+
ReadTimeout: 30 * time.Second,
113+
WriteTimeout: 30 * time.Second,
114114
}
115115

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

0 commit comments

Comments
 (0)