Allow international formatted dates in CSV imports

This commit is contained in:
Andris Reinman 2017-02-02 16:47:50 +02:00
parent 1513c761bc
commit 9778c486e9
5 changed files with 27 additions and 15 deletions

View file

@ -20,6 +20,8 @@ let libmime = require('libmime');
let attachmentCache = new Map();
let attachmentCacheSize = 0;
const mailing_timeout = 5 * 1000;
function findUnsent(callback) {
let returnUnsent = (row, campaign) => {
db.getConnection((err, connection) => {
@ -461,7 +463,6 @@ let sendLoop = () => {
}
let getNext = () => {
const mailing_timeout = 5 * 1000;
if (!mailer.transport.isIdle()) {
// only retrieve new messages if there are free slots in the mailer queue
return;