mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enable shared compiler thread by default
This commit is contained in:
@@ -1303,7 +1303,7 @@ public class BuildManager implements Disposable {
|
||||
private int startListening() throws Exception {
|
||||
EventLoopGroup group;
|
||||
BuiltInServer mainServer = StartupUtil.getServer();
|
||||
boolean isOwnEventLoopGroup = !Registry.is("compiler.shared.event.group", false) || mainServer == null || mainServer.getEventLoopGroup() instanceof OioEventLoopGroup;
|
||||
boolean isOwnEventLoopGroup = !Registry.is("compiler.shared.event.group", true) || mainServer == null || mainServer.getEventLoopGroup() instanceof OioEventLoopGroup;
|
||||
if (isOwnEventLoopGroup) {
|
||||
group = new NioEventLoopGroup(1, ConcurrencyUtil.newNamedThreadFactory("External compiler"));
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@ compiler.document.save.trigger.delay.description=Delay in milliseconds before tr
|
||||
compiler.build.data.unused.threshold=30
|
||||
compiler.build.data.unused.threshold.description=If project is not opened for the specified number of days, its build data will be cleared to save disk space
|
||||
|
||||
compiler.shared.event.group=false
|
||||
compiler.shared.event.group=true
|
||||
|
||||
vcs.annotations.preload=false
|
||||
vcs.showConsole=true
|
||||
|
||||
Reference in New Issue
Block a user