mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
config
This commit is contained in:
parent
3debc27227
commit
36c6a3b41b
@ -49,7 +49,7 @@ func NewResolver(schema, etcdAddr, serviceName string) (*Resolver, error) {
|
||||
//conn, err := grpc.DialContext(ctx, GetPrefix(schema, serviceName),
|
||||
// grpc.WithDefaultServiceConfig(fmt.Sprintf(`{"LoadBalancingPolicy": "%s"}`, roundrobin.Name)),
|
||||
// grpc.WithInsecure())
|
||||
log.Debug("", "etcd key ", GetPrefix(schema, serviceName), "value ", *r.grpcClientConn)
|
||||
log.Debug("", "etcd key ", GetPrefix(schema, serviceName))
|
||||
|
||||
conn, err := grpc.Dial(
|
||||
GetPrefix(schema, serviceName),
|
||||
|
Loading…
x
Reference in New Issue
Block a user