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

批次爬虫获取redis中的任务时一直阻塞,任务存在就是不去执行,重新执行采集程序又正常了 #248

Open
JeffreyLiuJunJie opened this issue Feb 1, 2024 · 3 comments

Comments

@JeffreyLiuJunJie
Copy link

image

@xx299x
Copy link

xx299x commented Mar 21, 2024

确保 COLLECTOR_TASK_COUNT <= SPIDER_THREAD_COUNT

@JeffreyLiuJunJie
Copy link
Author

确保 COLLECTOR_TASK_COUNT <= SPIDER_THREAD_COUNT
我设置的都是32

@Boris-code
Copy link
Owner

这种情况 你要去redis里看看任务 是不是 有问题,消费的条件是 sore小于当前时间戳,且 parse_name 和 爬虫名一样

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

3 participants