Skip to content

Commit

Permalink
fix http server timeout for aslan (koderover#1924)
Browse files Browse the repository at this point in the history
Signed-off-by: Min Min <[email protected]>

Signed-off-by: Min Min <[email protected]>
Co-authored-by: Min Min <[email protected]>
  • Loading branch information
jamsman94 and Min Min authored Aug 18, 2022
1 parent b9bbc6f commit 944b6e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/microservice/aslan/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ func Serve(ctx context.Context) error {
engine := rest.NewEngine()
server := &http.Server{
Addr: ":25000",
WriteTimeout: time.Second * 15,
ReadTimeout: time.Second * 15,
WriteTimeout: time.Second * 3600,
ReadTimeout: time.Second * 3600,
IdleTimeout: time.Second * 5 * 60,
Handler: engine,
}
Expand Down

0 comments on commit 944b6e9

Please sign in to comment.