mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 22:59:01 +02:00
remove a bit of logging which is filling disk up
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user