Sleep for 1 Millisecond

This commit is contained in:
Michael Bykovski 2017-07-11 19:51:39 +02:00
parent 8ac4c0310c
commit 0a51592b69

View File

@ -77,7 +77,7 @@ public class NanoHTTPDWebserver extends NanoHTTPD{
while (!this.webserver.responses.containsKey(requestUUID)) { while (!this.webserver.responses.containsKey(requestUUID)) {
try { try {
Thread.sleep(100); Thread.sleep(1);
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();
} }