Skip to content
Snippets Groups Projects
Commit 6762cd24 authored by ztelur's avatar ztelur
Browse files

remove log

parent c7690fee
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,6 @@ package grpc
import (
"reflect"
"strconv"
"time"
)
import (
......@@ -107,9 +106,7 @@ func NewClient(url *common.URL) (*Client, error) {
grpc.MaxCallRecvMsgSize(1024*1024*maxMessageSize),
grpc.MaxCallSendMsgSize(1024*1024*maxMessageSize)))
logger.Infof("begin grpc dail:%s, begin time: %s ", url, time.Now())
conn, err := grpc.Dial(url.Location, dialOpts...)
logger.Infof("end grpc dail: dail:%s, end time: %s", url, time.Now())
if err != nil {
logger.Errorf("grpc dail error: %v", err)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment