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() {