Bugfix
This commit is contained in:
parent
044c4e04bd
commit
d29b4e45fe
@ -88,7 +88,7 @@ public class GrpcConnection extends BaseConnection implements RocksDBAPI {
|
|||||||
public GrpcConnection(String name, HostAndPort address) {
|
public GrpcConnection(String name, HostAndPort address) {
|
||||||
super(name);
|
super(name);
|
||||||
var channelBuilder = ManagedChannelBuilder
|
var channelBuilder = ManagedChannelBuilder
|
||||||
.forTarget(address.toString())
|
.forAddress(address.host(), address.port())
|
||||||
.usePlaintext();
|
.usePlaintext();
|
||||||
this.channel = channelBuilder.build();
|
this.channel = channelBuilder.build();
|
||||||
this.blockingStub = RocksDBServiceGrpc.newBlockingStub(channel);
|
this.blockingStub = RocksDBServiceGrpc.newBlockingStub(channel);
|
||||||
|
Loading…
Reference in New Issue
Block a user