Skip to content

Commit ef36142

Browse files
committed
tweak http timeouts
1 parent a064840 commit ef36142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/web/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (app *App) InitServer() {
9393
app.server = &http.Server{
9494
Addr: app.addr,
9595
Handler: app.Routes(),
96-
WriteTimeout: 15 * time.Second,
96+
WriteTimeout: 30 * time.Second,
9797
ReadTimeout: 15 * time.Second,
9898
IdleTimeout: 60 * time.Second,
9999
TLSConfig: tlsConfig,

0 commit comments

Comments
 (0)