matthiasblaesing commented on code in PR #4284:
URL: https://github.com/apache/netbeans/pull/4284#discussion_r907707336
##########
ide/parsing.indexing/src/org/netbeans/modules/parsing/impl/indexing/PathRegistry.java:
##########
@@ -68,7 +68,7 @@
public final class PathRegistry implements Runnable {
private static final boolean FIRE_UNKNOWN_ALWAYS = false;
- /*test*/ static final int FIRER_EVT_COLLAPSE_WINDOW = 500;
+ /*test*/ static final int FIRER_EVT_COLLAPSE_WINDOW =
Integer.getInteger(PathRegistry.class.getName()+".FIRER_EVT_COLLAPSE_WINDOW",
500);
Review Comment:
I did not go deep, but it looks as if this fires when source roots and
classpaths change. This is always a slow operation and grouping them together
for 500ms is IMHO sane. Going down with this might trigger indexing more often
and thus blocking the editor more often.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists