0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

🚨 increase ping tries when forking process (#7377)

no issue
This commit is contained in:
Katharina Irrgang 2016-09-14 15:09:47 +02:00 committed by Hannah Wolfe
parent e0970bff8e
commit 5acc2a9c30

View file

@ -97,7 +97,7 @@ function forkGhost(newConfig, envName) {
/*jshint unused:false*/
pingTries = pingTries + 1;
// continue checking
if (pingTries >= 50 && pingStop()) {
if (pingTries >= 100 && pingStop()) {
child.kill();
reject(new Error('Timed out waiting for child process'));
}