Limit BODY retries

This commit is contained in:
M66B 2022-01-28 22:35:16 +01:00
parent 4289507722
commit edd9df12ac
1 changed files with 2 additions and 0 deletions

View File

@ -586,6 +586,8 @@ class Core {
MessageHelper.isRemoved(ex) ||
EntityOperation.HEADERS.equals(op.name) ||
EntityOperation.RAW.equals(op.name) ||
(op.tries >= LOCAL_RETRY_MAX &&
EntityOperation.BODY.equals(op.name)) ||
EntityOperation.ATTACHMENT.equals(op.name) ||
((op.tries >= LOCAL_RETRY_MAX || attachments > 0) &&
EntityOperation.ADD.equals(op.name) &&