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

Mitigate the concurrency error in scheduling #26

Merged
merged 1 commit into from
Aug 17, 2018

Conversation

paraita
Copy link
Contributor

@paraita paraita commented Aug 16, 2018

This PR should greatly mitigate #3280.
I removed the use of a parallel stream and replaced it with a regular stream. I've also refactored some part of the lambda.

.collect(Collectors.toMap(e -> e.getKey(),
e -> e.getValue()
.getValue())))
// TODO Currently map the JobVariable object to a simple string (its value).

Choose a reason for hiding this comment

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

Will you do that in another PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The comment was there before my PR, I have no idea what was planned with it 😄

@paraita paraita merged commit 9694ff9 into ow2-proactive:master Aug 17, 2018
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