Open SummerAnna opened 6 years ago
code: for(var i=0;i<200;i++){ client.send("/topic/topic.light.ctrl.down",{"amq-msg-type":"text","TOPIC":"topic.light.ctrl.down"},encodeURIComponent(ctrl_down_msg.toString())); }
when loop<25,it's ok,can receive the server's back-msg; but when loop>25,the error will be occupied.
code: for(var i=0;i<200;i++){ client.send("/topic/topic.light.ctrl.down",{"amq-msg-type":"text","TOPIC":"topic.light.ctrl.down"},encodeURIComponent(ctrl_down_msg.toString())); }
when loop<25,it's ok,can receive the server's back-msg; but when loop>25,the error will be occupied.