Add sleep

This commit is contained in:
Alexander Sytnyk 2017-07-19 12:11:16 +03:00
parent 2ff5416c94
commit 2baa8d6594

View file

@ -377,6 +377,7 @@ public class SearchUICore {
if (rm.isCancelled()) { if (rm.isCancelled()) {
return; return;
} }
Thread.sleep(TIMEOUT_BEFORE_SEARCH);
} }
} else if (TIMEOUT_BEFORE_SEARCH > 0) { } else if (TIMEOUT_BEFORE_SEARCH > 0) {
Thread.sleep(TIMEOUT_BEFORE_SEARCH); Thread.sleep(TIMEOUT_BEFORE_SEARCH);