Long polling Stop other request for 1 or 2 minutes

前端 未结 4 1923
你的背包
你的背包 2021-01-15 04:03

During create a chat system , I use a long life request to get message , and use a jquery request to send message like this :

*Send: *

$(\"         


        
4条回答
  •  我在风中等你
    2021-01-15 04:27

    You should be sending the Insert asynchronously as well, just like you do with the GetRecords. That should solve your issue. Add async: true to the send request.

提交回复
热议问题