mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-09-20 15:26:03 +08:00
v1.38.0
This commit is contained in:
parent
4c940fc3f4
commit
99cd233476
|
@ -2240,12 +2240,13 @@ module.exports = (db, server, messageHandler, userHandler, storageHandler, setti
|
|||
|
||||
let limitCheck;
|
||||
try {
|
||||
limitCheck = await messageHandler.counters.ttlcounter('wdr:' + userData._id.toString(), envelope.to.length, maxRecipients, false);
|
||||
limitCheck = await messageHandler.counters.asyncTTLCounter('wdr:' + userData._id.toString(), envelope.to.length, maxRecipients, false);
|
||||
} catch (err) {
|
||||
res.status(500);
|
||||
return res.json({
|
||||
error: 'Database error',
|
||||
code: 'InternalDatabaseError'
|
||||
code: 'InternalDatabaseError',
|
||||
stack: err.stack
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.37.5",
|
||||
"version": "1.38.0",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue