PHP uses sleep to implement scheduled tasks. How to quickly return information prompts after sleep?
小破孩
小破孩 2019-07-01 15:09:04
0
3
1544

PHP uses sleep to implement scheduled tasks. How to quickly return information prompts after sleep


##sleep(3);


How to return information quickly without a three-second delay?


There seems to be a bit of a conflict, but I don’t know how it will end.

小破孩
小破孩

山水一程,三生有幸

reply all(2)
就手

Learn about php redis multi-process ring queue

殘留の回憶

Using sleep to make a timer is a scam. You can operate it from the server, or if it doesn't work, you can also use js to adjust the php program.

  • reply I have given up using sleep and have written scheduled tasks on the server.
    小破孩 author 2019-07-04 10:00:17
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template