From 44a04bfdd462a62e8ac0648b64637155d9ffd9ad Mon Sep 17 00:00:00 2001 From: "382673304@qq.com" <382673304@qq.com> Date: Fri, 30 Oct 2020 14:03:44 +0800 Subject: [PATCH] fix: fix import and comment --- protocol/grpc/grpc_protocol.go | 2 +- protocol/grpc/server.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/protocol/grpc/grpc_protocol.go b/protocol/grpc/grpc_protocol.go index 296497aca..f488dda73 100644 --- a/protocol/grpc/grpc_protocol.go +++ b/protocol/grpc/grpc_protocol.go @@ -18,13 +18,13 @@ package grpc import ( - "github.com/apache/dubbo-go/common/constant" "strconv" "sync" ) import ( "github.com/apache/dubbo-go/common" + "github.com/apache/dubbo-go/common/constant" "github.com/apache/dubbo-go/common/extension" "github.com/apache/dubbo-go/common/logger" "github.com/apache/dubbo-go/protocol" diff --git a/protocol/grpc/server.go b/protocol/grpc/server.go index d6ed29dc9..30bdf77e7 100644 --- a/protocol/grpc/server.go +++ b/protocol/grpc/server.go @@ -80,8 +80,6 @@ func (s *Server) Start(url common.URL) { grpc.UnaryInterceptor(otgrpc.OpenTracingServerInterceptor(tracer)), grpc.MaxRecvMsgSize(1024*1024*s.bufferSize), grpc.MaxSendMsgSize(1024*1024*s.bufferSize)) - fmt.Println("-------------------") - fmt.Println("size = ", s.bufferSize) key := url.GetParam(constant.BEAN_NAME_KEY, "") service := config.GetProviderService(key) -- GitLab