Sleep for 1 Millisecond
This commit is contained in:
parent
8ac4c0310c
commit
0a51592b69
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user