From bd265bfd23e2b85a593b56ab1903a9555396fc74 Mon Sep 17 00:00:00 2001 From: Alex Angelini Date: Tue, 6 Aug 2024 16:14:31 -0400 Subject: [PATCH] Remove max connection age --- pkg/server/server.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/server/server.go b/pkg/server/server.go index d919094..5da3c21 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -160,10 +160,6 @@ func NewServer(ctx context.Context, dbConn *DbPoolConnector, cert *tls.Certifica grpc.MaxRecvMsgSize(MAX_MESSAGE_SIZE), grpc.MaxSendMsgSize(MAX_MESSAGE_SIZE), grpc.Creds(creds), - grpc.KeepaliveParams(keepalive.ServerParameters{ - MaxConnectionAge: 120 * time.Second, - MaxConnectionAgeGrace: 45 * time.Second, - }), grpc.KeepaliveEnforcementPolicy(keepalive.EnforcementPolicy{ MinTime: 2 * time.Second, PermitWithoutStream: true,