From b7172db2f9e3b03dfdb742a08f12fd74747e3e38 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Wed, 2 Oct 2024 18:09:14 +0200 Subject: [PATCH] Use direct executor in client --- .../java/it/cavallium/rockserver/core/client/GrpcConnection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java b/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java index 8acc2c1..f5cf429 100644 --- a/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java +++ b/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java @@ -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);