mirror of https://github.com/M66B/FairEmail.git
Limit BODY retries
This commit is contained in:
parent
4289507722
commit
edd9df12ac
|
@ -586,6 +586,8 @@ class Core {
|
||||||
MessageHelper.isRemoved(ex) ||
|
MessageHelper.isRemoved(ex) ||
|
||||||
EntityOperation.HEADERS.equals(op.name) ||
|
EntityOperation.HEADERS.equals(op.name) ||
|
||||||
EntityOperation.RAW.equals(op.name) ||
|
EntityOperation.RAW.equals(op.name) ||
|
||||||
|
(op.tries >= LOCAL_RETRY_MAX &&
|
||||||
|
EntityOperation.BODY.equals(op.name)) ||
|
||||||
EntityOperation.ATTACHMENT.equals(op.name) ||
|
EntityOperation.ATTACHMENT.equals(op.name) ||
|
||||||
((op.tries >= LOCAL_RETRY_MAX || attachments > 0) &&
|
((op.tries >= LOCAL_RETRY_MAX || attachments > 0) &&
|
||||||
EntityOperation.ADD.equals(op.name) &&
|
EntityOperation.ADD.equals(op.name) &&
|
||||||
|
|
Loading…
Reference in New Issue