Просмотр исходного кода

include log message for process timeout

Brian Gough 11 лет назад
Родитель
Сommit
c9771272df
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/spelling/app/coffee/ASpellWorkerPool.coffee

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

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