More responsive ui

This commit is contained in:
Laurent Clouet
2016-09-15 15:34:34 +02:00
parent 018382ac6f
commit 6747b666ef

View File

@@ -279,12 +279,12 @@ public class Client {
int time_slept = 0;
while (time_slept < time_sleep && this.running == true) {
try {
Thread.sleep(5000);
Thread.sleep(250);
}
catch (InterruptedException e) {
return -3;
}
time_slept += 5000;
time_slept += 250;
}
this.suspended = false;
continue; // go back to ask job