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

Add org.gradle.workers.max to gradle.properties #1366

Merged
merged 1 commit into from
Oct 11, 2020
Merged

Add org.gradle.workers.max to gradle.properties #1366

merged 1 commit into from
Oct 11, 2020

Conversation

trask
Copy link
Member

@trask trask commented Oct 9, 2020

Closes #740

@@ -1,5 +1,9 @@
org.gradle.parallel=true
org.gradle.caching=true

# limiting the number of parallel workers helps to keep your machine responsive during builds
# see https://github.com/gradle/gradle/issues/14224
org.gradle.workers.max=2
Copy link
Contributor

@anuraaga anuraaga Oct 10, 2020

Choose a reason for hiding this comment

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

Just for reference, I have 4 cores with hyperthreading, and max-workers of 4 works well since it ends up with 8 which is all my threads. This will end up with 6 workers if I'm not mistaken (build always adds 4 extra workers) - wonder if it works on a 4-core without hyperthreading machine.

@trask
Copy link
Member Author

trask commented Oct 11, 2020

Merging, but very open to revisit (further restrict, e.g. remove parallel completely) if we find contributors continue to run into this issue.

@trask trask merged commit ffe9083 into open-telemetry:master Oct 11, 2020
@trask trask deleted the update-gradle-properties branch October 13, 2020 03:24
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.

Remove org.gradle.parallel=true from gradle.properties
3 participants