diff options
Diffstat (limited to 'src/WaiterClient.java')
-rw-r--r-- | src/WaiterClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WaiterClient.java b/src/WaiterClient.java index 0c75777..f9e1d06 100644 --- a/src/WaiterClient.java +++ b/src/WaiterClient.java @@ -35,7 +35,7 @@ class WaiterClient extends IvyApplicationAdapter implements Runnable { // System.out.println("DEV WaiterClient start"); while (encore) { try { - Thread.sleep(INCREMENT); + if (INCREMENT>0) Thread.sleep(INCREMENT); if (!forever) { timeout-=INCREMENT; if (timeout<=0) encore=false; |