Skip to content

Commit 04e5f91

Browse files
committed
#2784 do not submit to many jobs for a project
Fixes #2784
1 parent f52baa3 commit 04e5f91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/core/src/main/java/com/perl5/lang/perl/idea/project/PerlProjectDirectoriesConfigurator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public void after(@NotNull List<? extends @NotNull VFileEvent> events) {
8080
return collector;
8181
}).expireWhen(project::isDisposed)
8282
.finishOnUiThread(ModalityState.defaultModalityState(), collector -> WriteAction.run(collector::commit))
83+
.coalesceBy(project, PerlProjectDirectoriesConfigurator.class)
8384
.submit(AppExecutorUtil.getAppExecutorService());
8485
}
8586

0 commit comments

Comments
 (0)