You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by sh...@apache.org on 2022/05/12 06:51:42 UTC

[kafka] branch trunk updated: MINOR: parameter name fix for maxScalacThreads (#12151)

This is an automated email from the ASF dual-hosted git repository.

showuon pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0007369581e MINOR: parameter name fix for maxScalacThreads (#12151)
0007369581e is described below

commit 0007369581e8358ffb14234f7f9503ab6face4d2
Author: jparag <ja...@gmail.com>
AuthorDate: Thu May 12 02:51:27 2022 -0400

    MINOR: parameter name fix for maxScalacThreads (#12151)
    
    There's a typo in build.gradle, and cause the `maxScalacThreads` parameter doesn't work as expected
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index b80de613850..8fd32e68743 100644
--- a/build.gradle
+++ b/build.gradle
@@ -76,7 +76,7 @@ ext {
     )
 
   maxTestForks = project.hasProperty('maxParallelForks') ? maxParallelForks.toInteger() : Runtime.runtime.availableProcessors()
-  maxScalacThreads = project.hasProperty('maxScalacThreads') ? maxScalacParallelism.toInteger() :
+  maxScalacThreads = project.hasProperty('maxScalacThreads') ? maxScalacThreads.toInteger() :
       Math.min(Runtime.runtime.availableProcessors(), 8)
   userIgnoreFailures = project.hasProperty('ignoreFailures') ? ignoreFailures : false