(index-client) Increase thread count in index client

This should be a fair bit larger than the number of index nodes
This commit is contained in:
Viktor Lofgren 2024-02-27 22:00:29 +01:00
parent e696fd9e92
commit 99a6e56e99

View File

@ -22,7 +22,7 @@ import java.util.concurrent.Executors;
public class IndexClient {
private static final Logger logger = LoggerFactory.getLogger(IndexClient.class);
private final GrpcMultiNodeChannelPool<IndexApiGrpc.IndexApiBlockingStub> channelPool;
private static final ExecutorService executor = Executors.newFixedThreadPool(8);
private static final ExecutorService executor = Executors.newFixedThreadPool(32);
@Inject
public IndexClient(GrpcChannelPoolFactory channelPoolFactory) {
this.channelPool = channelPoolFactory.createMulti(