mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-25 09:59:15 +00:00
Disable VT4ProfileExecutor & VT4BukkitScheduler by default
Default disable VT4ProfileExecutor to avoid error code 429 when fetched profile from mojang server. If related logic in plugins may not designed for VirtualThread, then virtual thread pinning may happen and causes problems. So only let user to enable if needed. For reference: https://stackoverflow.com/questions/76618264/synchronize-block-pinning-virtual-thread https://openjdk.org/jeps/491
This commit is contained in:
@@ -9,7 +9,7 @@ public class VT4BukkitScheduler extends ConfigModules {
|
||||
return EnumConfigCategory.PERF.getBaseKeyName();
|
||||
}
|
||||
|
||||
public static boolean enabled = true;
|
||||
public static boolean enabled = false;
|
||||
|
||||
@Override
|
||||
public void onLoaded() {
|
||||
|
||||
@@ -9,7 +9,7 @@ public class VT4ProfileExecutor extends ConfigModules {
|
||||
return EnumConfigCategory.PERF.getBaseKeyName();
|
||||
}
|
||||
|
||||
public static boolean enabled = true;
|
||||
public static boolean enabled = false;
|
||||
|
||||
@Override
|
||||
public void onLoaded() {
|
||||
|
||||
Reference in New Issue
Block a user