Remove TCP Write Response Timeout
This commit is contained in:
@@ -72,11 +72,10 @@ func initServer() *http.Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &http.Server{
|
return &http.Server{
|
||||||
Addr: config.Config.Server.URL().Host,
|
Addr: config.Config.Server.URL().Host,
|
||||||
WriteTimeout: time.Second * 15,
|
ReadTimeout: time.Second * 15,
|
||||||
ReadTimeout: time.Second * 15,
|
IdleTimeout: time.Second * 60,
|
||||||
IdleTimeout: time.Second * 60,
|
Handler: api.NewRouter(runnerManager, environmentManager),
|
||||||
Handler: api.NewRouter(runnerManager, environmentManager),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user