Wait before retry only

This commit is contained in:
M66B
2020-02-08 12:29:13 +01:00
parent 2cfc34eaf0
commit ce6b0b126b

View File

@@ -469,11 +469,12 @@ class Core {
ops.remove(op);
} else {
retry++;
try {
Thread.sleep(OPERATION_RETRY_DELAY);
} catch (InterruptedException ex1) {
Log.w(ex1);
}
if (retry < OPERATION_RETRY_MAX)
try {
Thread.sleep(OPERATION_RETRY_DELAY);
} catch (InterruptedException ex1) {
Log.w(ex1);
}
}
} finally {
try {