hotfix for zombie killer

This commit is contained in:
Jonathan Rainville 2018-06-05 13:24:16 -04:00
parent f67376110b
commit d3c4f6275c
1 changed files with 1 additions and 6 deletions

View File

@ -39,12 +39,7 @@ class ProcessWrapper {
}
setInterval(() => {
try {
const result = self.send({action: 'ping'});
if (!result) {
error();
} else {
self.retries = 0;
}
self.send({action: 'ping'});
} catch (e) {
error();
}