From 1ab1e4f46e0c407cb09912aadf04f0b00dd68aef Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:09:10 -0700 Subject: [PATCH] Longer timeout --- pkg/api/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/server.go b/pkg/api/server.go index ff1139c7..965f3a7f 100644 --- a/pkg/api/server.go +++ b/pkg/api/server.go @@ -88,7 +88,7 @@ func (s *Server) startGRPC() error { var err error grpcListener, err := net.Listen("tcp", addrString(s.GRPCAddress, s.GRPCPort)) - s.grpcListener = &proxyproto.Listener{Listener: grpcListener} + s.grpcListener = &proxyproto.Listener{Listener: grpcListener, ReadHeaderTimeout: 10 * time.Second} if err != nil { return errors.Wrap(err, "creating grpc listener") }