Use direct executor in client

This commit is contained in:
Andrea Cavalli 2024-10-02 18:09:14 +02:00
parent 60474f2a75
commit b7172db2f9

View File

@ -65,6 +65,7 @@ public class GrpcConnection extends BaseConnection implements RocksDBAPI {
super(name);
var channelBuilder = ManagedChannelBuilder
.forAddress(address.host(), address.port())
.directExecutor()
.usePlaintext();
this.channel = channelBuilder.build();
this.blockingStub = RocksDBServiceGrpc.newBlockingStub(channel);