include log line for each spell check

This commit is contained in:
Brian Gough 2015-03-12 11:43:09 +00:00
parent e4a3e63ff7
commit 86d1092f85

View file

@ -37,6 +37,7 @@ 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()