Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34796, comment 3


Ignore:
Timestamp:
11/30/2015 05:44:56 PM (8 years ago)
Author:
bangelov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34796, comment 3

    initial v1  
    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!
     1Hi @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!