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

Limit concurrent large modifications applications #501

Merged
merged 10 commits into from
Jul 26, 2024

Conversation

ayolab
Copy link
Contributor

@ayolab ayolab commented Jul 18, 2024

No description provided.

@ayolab ayolab requested a review from jonenst July 19, 2024 09:09
Copy link

Please retry analysis of this Pull-Request directly on SonarCloud

Copy link

@jonenst
Copy link
Contributor

jonenst commented Jul 26, 2024

CODE OK

@ayolab ayolab changed the title Limit concurrent modification applications Limit concurrent large modifications applications Jul 26, 2024
Copy link
Contributor

@antoinebhs antoinebhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code OK

Comment on lines +89 to +93
PreloadingStrategy preloadingStrategy = modificationInfosList.stream()
.map(ModificationInfos::getType)
.reduce(ModificationType::maxStrategy)
.map(ModificationType::getStrategy)
.orElse(PreloadingStrategy.NONE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not important: we already have the same code in other places, put it in a Util ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to touch the other places to avoid creating regressions or bugs in this PR

@ayolab ayolab merged commit 1df2e93 into main Jul 26, 2024
3 checks passed
@ayolab ayolab deleted the limit_concurrent_modification_applications branch July 26, 2024 13:38
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.

3 participants