remove a bit of logging which is filling disk up

This commit is contained in:
Henry Oswald 2016-11-24 18:54:32 +00:00
parent f5c31cffd1
commit e56c4b189a
2 changed files with 0 additions and 2 deletions

View file

@ -37,7 +37,6 @@ class ASpellWorkerPool
metrics.gauge 'aspellWorkerPool-size', @PROCESS_POOL.length
check: (language, words, timeout, callback) ->
logger.log lang: language, words: words.length, timeout: timeout, "aspell worker running check"
# look for an existing process in the pool
availableWorker = _.find @PROCESS_POOL, (cached) ->
cached.language == language && cached.isReady()

View file

@ -17,7 +17,6 @@ module.exports = LearnedWordsManager =
getLearnedWords: (user_token, callback = (error, words)->) ->
mongoCachedWords = mongoCache.get(user_token)
if mongoCachedWords?
logger.info user_token:user_token, "mongoCache hit"
metrics.inc "mongoCache-hit", 0.1
return callback(null, mongoCachedWords)