Increased wait time between Mailgun events to 150ms

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 10:39:55 +01:00
parent 4fad1986a0
commit 29e1e93ca1

View File

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