From 3da42df92cdee419e92c1f9ef2a6f54afcb9ef5e Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 12 Mar 2015 10:26:52 +0000 Subject: [PATCH] log when a worker is removed from the pool --- services/spelling/app/coffee/ASpellWorkerPool.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/spelling/app/coffee/ASpellWorkerPool.coffee b/services/spelling/app/coffee/ASpellWorkerPool.coffee index 0e87e9647d..84ad211ff9 100644 --- a/services/spelling/app/coffee/ASpellWorkerPool.coffee +++ b/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