Question

All the examples of SSE that I have looked at use an infinite while loop plus sleep cmd on the server side to fetch data and return it to the client side - does the PHP max_execution_time not come into effect here? Or am I missing something obvious?

Thanks

Was it helpful?

Solution

max_execution_time will stop that php script, but SSE reconnects automatically

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top