Procházet zdrojové kódy

include log message for process timeout

Brian Gough před 11 roky
rodič
revize
c9771272df

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

@@ -56,7 +56,7 @@ class ASpellWorkerPool
 			worker.idleTimer = null
 			worker.idleTimer = null
 
 
 		worker.killTimer = setTimeout () ->
 		worker.killTimer = setTimeout () ->
-			worker.kill()
+			worker.kill("spell check timed out")
 		, timeout || @MAX_REQUEST_TIME
 		, timeout || @MAX_REQUEST_TIME
 
 
 		worker.check words, (err, output) =>
 		worker.check words, (err, output) =>