expose "automake delay" property in registry

This commit is contained in:
Eugene Zhuravlev
2012-10-19 12:44:37 +02:00
parent 82d79a669d
commit 67179b2e37
2 changed files with 5 additions and 1 deletions
@@ -360,7 +360,8 @@ public class BuildManager implements ApplicationComponent{
private void addMakeRequest(Runnable runnable) {
myAlarm.cancelAllRequests();
myAlarm.addRequest(runnable, MAKE_TRIGGER_DELAY);
final int delay = Registry.intValue("compiler.automake.trigger.delay", MAKE_TRIGGER_DELAY);
myAlarm.addRequest(runnable, delay);
}
private void runAutoMake() {
@@ -164,6 +164,9 @@ compiler.process.use.external.javac.description=Run javac compiler in a separate
compiler.process.debug.port=-1
compiler.automake.trigger.delay=3000
compiler.automake.trigger.delay.description=Delay in milliseconds before triggering auto-make in response to file system events
vcs.show.colored.annotations=true
vcs.showConsole=true