use a delay when deleting

This commit is contained in:
Andris Reinman 2017-06-05 18:55:51 +03:00
parent 3a48be036b
commit 1f7537ee05

View file

@ -2066,7 +2066,7 @@ function clearExpiredMessages() {
return cursor.close(() => done(err));
}
deleted++;
processNext();
setTimeout(processNext, 100);
}
);
});