0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Increased wait time between Mailgun events to 200ms

no issue

Reduce concurrency if the database is going a bit slower, until we have more permanent fix for this.
This commit is contained in:
Simon Backx 2023-02-03 14:38:44 +01:00
parent 29e1e93ca1
commit 30b9d02f70

View file

@ -2,7 +2,7 @@ const {EmailDeliveredEvent, EmailOpenedEvent, EmailBouncedEvent, SpamComplaintEv
async function waitForEvent() {
return new Promise((resolve) => {
setTimeout(resolve, 150);
setTimeout(resolve, 200);
});
}