Skip to content

Commit

Permalink
Increase request timeout to avoid `failed to add job: job already cre…
Browse files Browse the repository at this point in the history
…ated` errors
  • Loading branch information
ohaibbq committed Feb 6, 2024
1 parent c242379 commit d56e4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Expand Up @@ -212,7 +212,7 @@ func (s *Server) Serve(ctx context.Context, httpAddr, grpcAddr string) error {
httpServer := &http.Server{
Handler: s.Handler,
Addr: httpAddr,
WriteTimeout: 15 * time.Second,
WriteTimeout: 5 * time.Minute,
ReadTimeout: 15 * time.Second,
}
s.httpServer = httpServer
Expand Down

0 comments on commit d56e4eb

Please sign in to comment.