0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 Fixed retry email not timing out on poll

no refs

Fixes a small bug in email retry logic meant we never timeout on polling for email retry while listening for the email status to see if it failed or submitted.
This commit is contained in:
Rishabh 2021-05-24 15:52:41 +05:30 committed by Rishabh Garg
parent 740a304bf0
commit 6f9cd593a7

View file

@ -125,6 +125,7 @@ export default Component.extend({
if (email.status === 'failed') {
throw new EmailFailedError(email.error);
}
pollTimeout += RETRY_EMAIL_POLL_LENGTH;
}
}