We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
首先感谢 Ares 的 CurlMulti🙏🏻🙏🏻 问题:在采集中遇到了403,于是想在程序中 sleep,但是不知道应该写在哪??还有最大连接数是不是也要设置小一点??
if ($i < $j) { $curl->add(array( 'url' => "xxx", 'args' => array ( 'i' => $i, ), ), 'getSinglePage'); $i ++; sleep(1); if ($i == $j) { $curl->cbTask = null; } }
The text was updated successfully, but these errors were encountered:
sleep是进程暂停,cbUser或回掉中写最合适。
Sorry, something went wrong.
No branches or pull requests
首先感谢 Ares 的 CurlMulti🙏🏻🙏🏻
问题:在采集中遇到了403,于是想在程序中 sleep,但是不知道应该写在哪??还有最大连接数是不是也要设置小一点??
The text was updated successfully, but these errors were encountered: