From 3a79a1713a518497848e84ae31ec5b7cfed79260 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Thu, 20 Jul 2017 16:59:48 +0300 Subject: [PATCH] removed console logs --- api.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api.js b/api.js index 835eb183..49331d7b 100644 --- a/api.js +++ b/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);