Fix parallelism carrier thread count

This commit is contained in:
crschnick 2024-10-02 18:12:42 +00:00
parent 3c808810a1
commit 1924bd1644

View file

@ -143,7 +143,8 @@ project.ext {
"-Dio.xpipe.app.languages=${String.join(",", languages)}", "-Dio.xpipe.app.languages=${String.join(",", languages)}",
"-Dfile.encoding=UTF-8", "-Dfile.encoding=UTF-8",
"-Dvisualvm.display.name=XPipe", "-Dvisualvm.display.name=XPipe",
"-Djavafx.preloader=io.xpipe.app.core.AppPreloader" "-Djavafx.preloader=io.xpipe.app.core.AppPreloader",
"-Djdk.virtualThreadScheduler.parallelism=8"
] ]
// Disable this on Windows for now as it requires Windows 10+ // Disable this on Windows for now as it requires Windows 10+
if (org.gradle.internal.os.OperatingSystem.current().isLinux() || org.gradle.internal.os.OperatingSystem.current().isMacOsX()) { if (org.gradle.internal.os.OperatingSystem.current().isLinux() || org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {