Skip to content

Commit 65eafe1

Browse files
committed
Increase request timeout to avoid failed to add job: job already created errors
1 parent 61e8d90 commit 65eafe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (s *Server) Serve(ctx context.Context, httpAddr, grpcAddr string) error {
212212
httpServer := &http.Server{
213213
Handler: s.Handler,
214214
Addr: httpAddr,
215-
WriteTimeout: 15 * time.Second,
215+
WriteTimeout: 5 * time.Minute,
216216
ReadTimeout: 15 * time.Second,
217217
}
218218
s.httpServer = httpServer

0 commit comments

Comments
 (0)