|
@@ -422,7 +422,7 @@
|
|
|
{
|
|
|
if(commandSendCheckArr && commandSendCheckArr.count >0){
|
|
|
for (commandSendCheckModel *model in commandSendCheckArr) {
|
|
|
- if(model.reSendNum < 5){
|
|
|
+ if(model.reSendNum < 3){
|
|
|
model.reSendNum ++;
|
|
|
if(model.commandStr){
|
|
|
[self send_data:model.commandStr];
|
|
@@ -430,9 +430,9 @@
|
|
|
HLog(@"\n\n\n任务重发 重发次数:%ld 指令:%@\n\n\n",model.reSendNum,model.commandStr);
|
|
|
}
|
|
|
|
|
|
- if([model.type isEqualToString:@"offline_notification"]){
|
|
|
- model.reSendNum = 1;//只要不收到
|
|
|
- }
|
|
|
+// if([model.type isEqualToString:@"offline_notification"]){
|
|
|
+// model.reSendNum = 1;//只要不收到
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
}
|