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) {
|
||||
super(name);
|
||||
var channelBuilder = ManagedChannelBuilder
|
||||
.forTarget(address.toString())
|
||||
.forAddress(address.host(), address.port())
|
||||
.usePlaintext();
|
||||
this.channel = channelBuilder.build();
|
||||
this.blockingStub = RocksDBServiceGrpc.newBlockingStub(channel);
|
||||
|
Loading…
Reference in New Issue
Block a user