You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error(`No socket connection for ${healthCheckFailuresCount*SOCKET_HEALTH_CHECK_INTERVAL_MS/1000} seconds. Exiting due to orphan node process detection.`);
116
-
process.exit(1);
117
-
}
118
-
119
-
if(controlSocketMain||largeDataSocketMain){
120
-
// Reset failure count if any socket is connected
121
-
healthCheckFailuresCount=0;
122
-
return;
123
-
}
124
-
console.warn(`No active sockets detected, node will be terminated in ${(RETRY_HEALTH_CHECK_MAX_COUNT-healthCheckFailuresCount)*SOCKET_HEALTH_CHECK_INTERVAL_MS/1000} seconds`);
125
-
healthCheckFailuresCount++;
126
-
},SOCKET_HEALTH_CHECK_INTERVAL_MS);
127
-
}
128
-
129
108
constMAX_PENDING_SEND_BUFFER=10000;
130
109
letpendingSendBuffer=[];
131
110
@@ -366,7 +345,6 @@ function processWSCommand(ws, metadata, dataBuffer) {
0 commit comments