mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
Merge tag 'v4.3.4' into develop
v4.3.4 v4.3.4
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user