mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
too many events posted in dump mode fixed
This commit is contained in:
+2
-1
@@ -809,7 +809,8 @@ public class DaemonCodeAnalyzerImpl extends DaemonCodeAnalyzerEx implements Pers
|
||||
}
|
||||
if (HeavyProcessLatch.INSTANCE.isRunning()) {
|
||||
if (myAlarm.isEmpty()) {
|
||||
myAlarm.addRequest(myUpdateRunnable, mySettings.AUTOREPARSE_DELAY);
|
||||
// wait for heavy processing to stop, re-schedule daemon but not too soon
|
||||
myAlarm.addRequest(myUpdateRunnable, Math.max(mySettings.AUTOREPARSE_DELAY,100));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user