Limit total number of operation retries

This commit is contained in:
M66B
2020-02-11 17:46:04 +01:00
parent 0456c85e9a
commit 8bb5f2f902
7 changed files with 2188 additions and 9 deletions

View File

@@ -1015,10 +1015,11 @@ public class Log {
DateFormat TF = Helper.getTimeInstance(context);
for (EntityOperation op : db.operation().getOperations())
size += write(os, String.format("%s %d %s %s %s\r\n",
size += write(os, String.format("%s %d %s/%d %s %s\r\n",
TF.format(op.created),
op.message == null ? -1 : op.message,
op.name,
op.tries,
op.args,
op.error));
}