mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
remove a bit of logging which is filling disk up
This commit is contained in:
parent
f5c31cffd1
commit
e56c4b189a
2 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue