mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
lower bound for automake delay
This commit is contained in:
@@ -360,7 +360,7 @@ public class BuildManager implements ApplicationComponent{
|
||||
|
||||
private void addMakeRequest(Runnable runnable) {
|
||||
myAlarm.cancelAllRequests();
|
||||
final int delay = Registry.intValue("compiler.automake.trigger.delay", MAKE_TRIGGER_DELAY);
|
||||
final int delay = Math.max(50, Registry.intValue("compiler.automake.trigger.delay", MAKE_TRIGGER_DELAY));
|
||||
myAlarm.addRequest(runnable, delay);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user