Explorar el Código

log when a worker is removed from the pool

Brian Gough hace 11 años
padre
commit
3da42df92c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      services/spelling/app/coffee/ASpellWorkerPool.coffee

+ 1 - 0
services/spelling/app/coffee/ASpellWorkerPool.coffee

@@ -17,6 +17,7 @@ class ASpellWorkerPool
 			return null
 		worker = new ASpellWorker(language, @options)
 		worker.pipe.on 'exit', () =>
+			logger.log process: worker.pipe.pid, lang: language, "removing aspell worker from pool"
 			@cleanup()
 		@PROCESS_POOL.push(worker)
 		metrics.gauge 'aspellWorkerPool-size', @PROCESS_POOL.length