mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
include log line for each spell check
This commit is contained in:
parent
e4a3e63ff7
commit
86d1092f85
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue