-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
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
爬虫似乎不会自动结束爬取,爬取完成后无法执行stopWorker #12
Comments
守护模式下不会自动退出,需要手动执行 |
我刚才才知道之前用的是1.00版本,现在换成1.04执行
|
第一个的错误级别是 notice 还是 warning 呢? |
Fatal error: |
@kiddyuchina packgist的composer包中这个 |
空队列这个bug如何解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作为测试我配置了$beanbun->UrlFilter,给了一个seed让爬虫自己爬,在规则中大概能匹配7张页面,但是页面抓完之后一直没有执行stopWorker,而且任务管理器中的进程还在。
我尝试使用
php start.php stop
,在任务管理器中看到爬虫进程已经结束了,但是还是还是没有执行stopWorker();部分代码:
$bean->stopWorker = function($b){ $b->log('执行了一次stopWorker'); }
表现在:日志文件中并没有'执行了一次stopWorker'
The text was updated successfully, but these errors were encountered: