From 0a51592b695f43f142a2cbb13e3cc006f4adf37e Mon Sep 17 00:00:00 2001 From: Michael Bykovski Date: Tue, 11 Jul 2017 19:51:39 +0200 Subject: [PATCH] Sleep for 1 Millisecond --- src/android/NanoHTTPDWebserver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/NanoHTTPDWebserver.java b/src/android/NanoHTTPDWebserver.java index ae6bfa9..43c71df 100644 --- a/src/android/NanoHTTPDWebserver.java +++ b/src/android/NanoHTTPDWebserver.java @@ -77,7 +77,7 @@ public class NanoHTTPDWebserver extends NanoHTTPD{ while (!this.webserver.responses.containsKey(requestUUID)) { try { - Thread.sleep(100); + Thread.sleep(1); } catch (InterruptedException e) { e.printStackTrace(); }