CodePythonFollow
CodePythonFollow
client
When my subscription data changes, it may be timeout due to a long time. At this time, I have to restart the subscription, so dirty data will be generated and...
Thank you. I used the same idea, asynchrony is a great optimization direction
let startTime = new Date(); initProjest(); async function onMessage(msg) { if (msg.date() < startTime) { console.log("排除已经发送的消息"); return; } *** } 修改成这样就好了.