Wait before retry only

pull/174/head
M66B 6 years ago
parent 2cfc34eaf0
commit ce6b0b126b

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

Loading…
Cancel
Save