Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当客户端发送 ajax 请求时,服务器中可能会运行一些操作(例如处理数据库表),当此操作持续时间过长时,将显示我的程序中在 javascript 端定义的错误消息。尽管操作正在服务器中运行并且结束操作,但一切都正常。我的问题是,为什么在服务器中没有发生错误时出现该消息?服务器响应有时间限制吗?我希望通过持续运行操作没有我们遇到的消息,并且通过结束它,会出现成功的消息。