fix: set max automatic threads to 8

This commit is contained in:
Connor Tumbleson 2024-12-01 13:50:49 -05:00
parent f8e1a59632
commit 858c07143d
No known key found for this signature in database
GPG Key ID: 864CB5B426DA2EEB

View File

@ -67,7 +67,7 @@ public class Config {
public boolean baksmaliDebugMode = true;
// Common options
public int jobs = Runtime.getRuntime().availableProcessors();
public int jobs = Math.min(Runtime.getRuntime().availableProcessors(), 8);
public String frameworkDirectory = null;
public String frameworkTag = null;
public String aaptPath = "";