Skip to content

add tunable for concurrency level of repository invalidation #3775

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

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

vladak
Copy link
Member

@vladak vladak commented Nov 22, 2021

This change lowers the pressure on the system imposed by HistoryGuru#invalidateRepositories() by changing the concurrency level (the web app uses parallelism which is not technically correct, I think) for the web app and avoiding repository tag construction in that code path. This is mainly targeting setting the configuration in the web app.

https://github.com/oracle/opengrok/wiki/Webapp-configuration will have to be updated.

@vladak vladak added the webapp web application label Nov 22, 2021
@vladak vladak marked this pull request as draft November 22, 2021 13:48
@vladak vladak force-pushed the repo_invalidation_take_it_easy branch from 3ffc294 to e1ebf2a Compare November 22, 2021 13:52
@vladak vladak marked this pull request as ready for review November 22, 2021 13:52
Also, do not rebuild repository tags in the web app.

fixes oracle#3157
@vladak vladak changed the title add tunable for repository invalidation concurrency level add tunable for concurrency level of repository invalidation Nov 22, 2021
@vladak vladak merged commit 053388e into oracle:master Nov 22, 2021
@vladak vladak deleted the repo_invalidation_take_it_easy branch November 22, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webapp web application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants