mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
Make ParallelDetector Gradle configuration cache compliant (#95434)
This commit is contained in:
parent
52172d092a
commit
4fc6dda21e
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public class ParallelDetector {
|
|||
? "hw.perflevel0.physicalcpu"
|
||||
: "hw.physicalcpu";
|
||||
|
||||
project.exec(spec -> {
|
||||
project.getProviders().exec(spec -> {
|
||||
spec.setExecutable("sysctl");
|
||||
spec.args("-n", query);
|
||||
spec.setStandardOutput(stdout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue