1 | | Hi @rmccue Thanks for your attention! I've tried the above code using stream_select but unfortunately it doesn't work on wpengine.com That is the main environment that I am using for test, because there I can reproduce the problem. I've tested it with timeout 50, 500, 5000, 500000 and it stuck the same way as it was without stream_select. The only way I was able to made successful request was with usleep. Yes it's a bit of a hack but I am out of ideas what could be the problem. Btw I've dumped the response from stream_select and it's true so that function runs properly, but it doesn't prevent stuck problem. Do you have any other idea what we could try? Thanks! |
| 1 | Hi @rmccue Thanks for your attention! I've tried the above code using stream_select but unfortunately it doesn't work on wpengine.com That is the main environment that I am using for the test, because there I can reproduce the problem. I've tested it with timeout 50, 500, 5000, 500000 and it stuck the same way as it was without stream_select. The only way I was able to made successful request was with usleep. Yes it's a bit of a hack but I am out of ideas what could be the problem. Btw I've dumped the response from stream_select and it's true so that function runs properly, but it doesn't prevent stuck problem. Do you have any other idea what we could try? Thanks! |