mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Reduce Thread.sleep to Jvm.pause, delays >= 1s to 500 ms, and remove "throws Exception" from tests
This commit is contained in:
@@ -1501,7 +1501,7 @@ public final class ChronicleMapBuilder<K, V> implements
|
||||
// truncated between length() and read() calls, then continue to wait
|
||||
}
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
Jvm.pause(100);
|
||||
} catch (InterruptedException e) {
|
||||
if (recover) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user