Skip to content

Commit

Permalink
Merge pull request #615 from tablelandnetwork/bcalza/incrtimeout
Browse files Browse the repository at this point in the history
increase http write timeout
  • Loading branch information
brunocalza authored Mar 4, 2024
2 parents ecae305 + d1990bf commit debf551
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 debf551

Please sign in to comment.