PHP cURL multi_exec delay between requests

后端 未结 4 1397

If I run a standard cURL_multi_exec function (example below), I get all cURL handles requested at once. I would like to put a delay of 100ms between each request, is there a

4条回答
  •  孤街浪徒
    2021-01-19 06:31

    Don't think you can. If you run this from the cli, you could instead fork your script into 10 processes and then fire regular curl requests from each. That would allow you fine grained control over the timing.

提交回复
热议问题