the heartbeat reply ledgerupdate is ok

This commit is contained in:
lnk
2025-05-12 16:43:42 +08:00
parent 8a2e6ea537
commit a6685ca801
9 changed files with 171 additions and 192 deletions

View File

@@ -315,14 +315,14 @@ int main(int argc, const char **argv)
}
//lnk20241211 添加测试开关
pthread_mutex_lock(&mtx);
/*pthread_mutex_lock(&mtx);
if (!G_TEST_FLAG && g_front_num_count >= 30 && g_onlyIP[0] == 0 && g_node->n_clients>10) {//30分钟连接数量过低且不是单连且台账大于十个终端
MVL_LOG_ACSE0("MYLOG: g_front_num_count>=20, so exit to restart ");
apr_sleep(apr_time_from_sec(10));
exit(-1039);
}
pthread_mutex_unlock(&mtx);
pthread_mutex_unlock(&mtx);*/
}