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.
我看过的所有 SSE 示例都在服务器端使用无限 while 循环和 sleep cmd 来获取数据并将其返回到客户端 - PHP max_execution_time 在这里没有生效吗?还是我错过了一些明显的东西?
谢谢
max_execution_time 将停止该 php 脚本,但 SSE 会自动重新连接