From 2c7d3fa562a25ead010a268b41ff4ef9aea11d3b Mon Sep 17 00:00:00 2001 From: Lifosmin Simon Date: Thu, 19 Sep 2024 10:34:40 +0700 Subject: [PATCH] resolve comments --- internal/server/server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/server/server.go b/internal/server/server.go index ff7f7742..f54b27da 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -122,8 +122,8 @@ func RunServer(config *Config) error { otelgrpc.StreamServerInterceptor(), )), grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer( - authInterceptor, grpc_logrus.UnaryServerInterceptor(logrusEntry), + authInterceptor, enrichLogrusFields(), otelgrpc.UnaryServerInterceptor(), grpc_recovery.UnaryServerInterceptor( @@ -187,7 +187,6 @@ func RunServer(config *Config) error { grpc.MaxCallRecvMsgSize(config.GRPC.MaxCallRecvMsgSize), grpc.MaxCallSendMsgSize(config.GRPC.MaxCallSendMsgSize), ), - grpc.WithDisableRetry(), ) if err != nil { return err