Skip to content
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

queue_rpush 方法去重了,add_url 重试是无法进入队列的…… #132

Open
keefe-wu opened this issue Mar 3, 2019 · 1 comment

Comments

@keefe-wu
Copy link

keefe-wu commented Mar 3, 2019

queue_rpush 方法对url去重了,add_url 重试是无法将地址重新放入队列的……

简单处理是不是可以

queue::del('collect_urls-' . md5($url));

在调用 add_url?

还是我用法不对。。

@owner888
Copy link
Owner

owner888 commented Mar 3, 2019

add_url是会去重的,用add_scan_url($url, $options = array(), $allowed_repeat = true)方法,默认$allowed_repeat为true,说明允许重复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants