Use direct executor in client
This commit is contained in:
parent
60474f2a75
commit
b7172db2f9
@ -65,6 +65,7 @@ public class GrpcConnection extends BaseConnection implements RocksDBAPI {
|
|||||||
super(name);
|
super(name);
|
||||||
var channelBuilder = ManagedChannelBuilder
|
var channelBuilder = ManagedChannelBuilder
|
||||||
.forAddress(address.host(), address.port())
|
.forAddress(address.host(), address.port())
|
||||||
|
.directExecutor()
|
||||||
.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