Merge tag 'v4.3.4' into develop

v4.3.4 v4.3.4
This commit is contained in:
Alexey Golubev
2017-05-15 16:48:18 +03:00
2 changed files with 7 additions and 4 deletions

View File

@ -43,6 +43,7 @@ const c_nCheckHealth = 60000, c_sCheckWord = 'color', c_sCheckLang = 1033;
let idCheckInterval, canStartCheck = true;
let statusCheckHealth = true;
function checkHealth (worker) {
logger.info('checkHealth');
if (!statusCheckHealth) {
logger.error('error check health, restart!');
worker.kill();
@ -52,6 +53,7 @@ function checkHealth (worker) {
statusCheckHealth = false;
}
function endCheckHealth (msg) {
logger.info('endCheckHealth');
statusCheckHealth = true;
}