enable shared compiler thread by default

This commit is contained in:
Vladimir Krivosheev
2016-06-16 15:24:52 +02:00
parent 9cac494190
commit 0bbb50326b
2 changed files with 2 additions and 2 deletions
@@ -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