More responsive ui
This commit is contained in:
@@ -279,12 +279,12 @@ public class Client {
|
|||||||
int time_slept = 0;
|
int time_slept = 0;
|
||||||
while (time_slept < time_sleep && this.running == true) {
|
while (time_slept < time_sleep && this.running == true) {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(5000);
|
Thread.sleep(250);
|
||||||
}
|
}
|
||||||
catch (InterruptedException e) {
|
catch (InterruptedException e) {
|
||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
time_slept += 5000;
|
time_slept += 250;
|
||||||
}
|
}
|
||||||
this.suspended = false;
|
this.suspended = false;
|
||||||
continue; // go back to ask job
|
continue; // go back to ask job
|
||||||
|
|||||||
Reference in New Issue
Block a user