Skip to content

Commit

Permalink
increase http write timeout [stagingdeploy]
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Calza <[email protected]>
  • Loading branch information
brunocalza committed Mar 1, 2024
1 parent ecae305 commit 61b5fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func createAPIServer(
server := &http.Server{
Addr: ":" + httpConfig.Port,
ReadTimeout: 10 * time.Second,
WriteTimeout: 20 * time.Second,
WriteTimeout: 60 * time.Second,
IdleTimeout: 120 * time.Second,
TLSNextProto: map[string]func(*http.Server, *tls.Conn, http.Handler){},
Handler: router.Handler(),
Expand Down

0 comments on commit 61b5fc9

Please sign in to comment.