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
定时任务关联着爬虫和节点,使用的绑定关系是使用ID,这种情况下当爬虫更新或者节点更新,会在某些情况下删除并重建,导致定时任务找不到对应的爬虫或者节点。
考虑使用的处理方式: 1、爬虫使用爬虫名称来关联 2、节点使用节点的KEY值来关联
The text was updated successfully, but these errors were encountered:
对于定时任务做了一下处理,在新增和编辑的时候都会检测cron表达式是否正确。 新增的时候,会把spider_name和node_key都写入定时任务。
定时任务进行任务调度的时候,会根据node_key和spider_name找到对应的node_id和spider_id,然后设置到task对象中。
已修复,未发布
Sorry, something went wrong.
No branches or pull requests
定时任务关联着爬虫和节点,使用的绑定关系是使用ID,这种情况下当爬虫更新或者节点更新,会在某些情况下删除并重建,导致定时任务找不到对应的爬虫或者节点。
考虑使用的处理方式:
1、爬虫使用爬虫名称来关联
2、节点使用节点的KEY值来关联
The text was updated successfully, but these errors were encountered: