This commit is contained in:
Tomas Bures 2017-04-16 03:28:07 -04:00
commit 2afeb74e68

View file

@ -545,7 +545,6 @@ let sendLoop = () => {
});
};
setImmediate(trySend);
setImmediate(() => mailer.transport.checkThrottling(getNext));
} else {
db.getConnection((err, connection) => {
if (err) {
@ -571,6 +570,7 @@ let sendLoop = () => {
});
});
}
setImmediate(() => mailer.transport.checkThrottling(getNext));
});
});
});