use blocking read instead of polling / sleeping for reading output / error from file watcher

This commit is contained in:
Maxim.Mossienko
2015-06-24 21:27:45 +02:00
parent c4b953b81c
commit a5f23f4fd2
@@ -328,8 +328,8 @@ public class FileWatcher {
}
@Override
protected boolean useAdaptiveSleepingPolicyWhenReadingOutput() {
return true;
protected boolean useNonBlockingRead() {
return false;
}
}