fix recall fail crash

This commit is contained in:
lnk
2025-07-24 16:14:00 +08:00
parent b89ceb336e
commit d58923fd21
2 changed files with 10 additions and 8 deletions

View File

@@ -2347,7 +2347,7 @@ void process_recall_config(recall_xml_t* recall_xml)
LD_info->autorecall[j]->need_voltage = recall[j].need_voltage;
}
LD_info->autorecallflag = 0;
LD_info->autorecallflag = 0;//这个监测点刚读取到补招文件,重置正在补招标志
}
@@ -6121,7 +6121,7 @@ void rocketmq_test_300(int mpnum,int front_index,int type) {
// 循环发送 300 条消息
if(type == 0){
std::cout << " use ledger send msg " << std::endl;
for (int i = 0; (total_messages > 0 && g_front_seg_index == 1 && g_node_id == 100) && i < g_node->n_clients; ++i) {
for (int i = 0; (total_messages > 0 && g_node_id == 100) && i < g_node->n_clients; ++i) {//台账模拟不限制进程号
ied = (ied_t*)g_node->clients[i];
if(ied != NULL){