Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve parallel processing #68

Merged
merged 3 commits into from
Apr 12, 2022

Conversation

mkardas
Copy link
Contributor

@mkardas mkardas commented Nov 2, 2021

Couple of fixes to improve processing.

Marcin Kardas added 3 commits November 2, 2021 17:28
By default the maximum number of connections per route is set to
[DEFAULT_MAX_CONN_PER_ROUTE](https://javadoc.io/static/org.elasticsearch.client/elasticsearch-rest-client/7.4.2/org/elasticsearch/client/RestClientBuilder.html#DEFAULT_MAX_CONN_PER_ROUTE) which is 10. I additionally set the maximum number
of connections for all routes in total to the same value (default is
[DEFAULT_MAX_CONN_TOTAL](https://javadoc.io/static/org.elasticsearch.client/elasticsearch-rest-client/7.4.2/org/elasticsearch/client/RestClientBuilder.html#DEFAULT_MAX_CONN_TOTAL) = 30). I don't think it makes sense to expose this parameter as well
in the config file as glutton uses only a single route.
@kermitt2 kermitt2 changed the base branch from incremental-update to version-0.3 April 12, 2022 17:55
@kermitt2
Copy link
Owner

Thanks a lot @mkardas and sorry to have been so slow to examine and merge your PR.

This looks all good, I am merging into the working branch kermitt2:version-0.3 as I am working on the next version.

@kermitt2 kermitt2 merged commit 2c2b637 into kermitt2:version-0.3 Apr 12, 2022
@kermitt2
Copy link
Owner

Ok oops I did some tests and it should have been merged with master before the release, this is indeed required to avoid long hanging. Let's redo release 0.2.

Thank you again for the fixes.

kermitt2 added a commit that referenced this pull request Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants