Closed dseurotech closed 1 month ago
Attention: Patch coverage is 0%
with 30 lines
in your changes missing coverage. Please review.
Project coverage is 16.79%. Comparing base (
03becfd
) to head (1b11529
). Report is 2 commits behind head on develop.
This PR makes parameters of Elasticsearch rest client configurable at startup time so that the performances can be tuned easier without the need to execute a new build. The parameters are the following:
datastore.elasticsearch.numberOfIOThreads
, set to <=0 to leave the defaultdatastore.elasticsearch.request.connection.timeout.millis
, set to <0 to leave the defaultdatastore.elasticsearch.request.socket.timeout.millis
, set to <0 to leave the defaultThe way to make these parameters configurable is explained in the Elasticsearch guide, see references below:
Timeouts | Elasticsearch Java API Client [7.17] | Elastic
Number of threads | Elasticsearch Java API Client [7.17] | Elastic