mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use blocking read instead of polling / sleeping for reading output / error from file watcher
This commit is contained in:
@@ -328,8 +328,8 @@ public class FileWatcher {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean useAdaptiveSleepingPolicyWhenReadingOutput() {
|
||||
return true;
|
||||
protected boolean useNonBlockingRead() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user