what do I need to do to get gradle to use more tha...
# gradle
j
what do I need to do to get gradle to use more than 4 workers? I tried
--max-workers=12
but it did not change
c
that is the correct option. how are you determining the number of workers?
*`org.gradle.workers.max=(max # of worker processes)` in gradle.pr*operties is the persistent equivalent.
j
I have a 12-core, 24-thread CPU so I figured 12 would be a good starting point
c
if you don’t specify anything Gradle will use the number of CPUs as the default
note, however, that workers only come into play largely for parallel task execution. Without configuration cache enables, that would be tasks in separate projects running in parallel. Configuration cache allows all tasks to run in parallel.
j
that would be nice, it's definitely not doing that tho. it shows 4 slots that are all busy but never goes to more than 4
build.gradle isn't setting workers
message has been deleted
oh ho
it's git-bash's fault
c
lol. often is!
j
when i run gradlew.bat from cmd then i get 12 workers
c
good stuff!