mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-31 04:33:09 +08:00
removed console logs
This commit is contained in:
parent
fc1c23676f
commit
3a79a1713a
1 changed files with 0 additions and 4 deletions
4
api.js
4
api.js
|
@ -1510,8 +1510,6 @@ function getMailboxCounter(mailbox, type, done) {
|
|||
return done(err);
|
||||
}
|
||||
|
||||
console.log(prefix + ':' + mailbox.toString(), err, sum);
|
||||
|
||||
if (sum !== null) {
|
||||
return done(null, Number(sum));
|
||||
}
|
||||
|
@ -1527,8 +1525,6 @@ function getMailboxCounter(mailbox, type, done) {
|
|||
return done(err);
|
||||
}
|
||||
|
||||
console.log(query, err, sum);
|
||||
|
||||
// cache calculated sum in redis
|
||||
db.redis.multi().set(prefix + ':' + mailbox.toString(), sum).expire(prefix + ':' + mailbox.toString(), consts.MAILBOX_COUNTER_TTL).exec(() => {
|
||||
done(null, sum);
|
||||
|
|
Loading…
Reference in a new issue