-
Notifications
You must be signed in to change notification settings - Fork 310
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
Bug with Scrapyd/DDS #92
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If u have configure celery time to search for new jobs < time spider job need to finish, u ll end up with running same spider job multiple times. The problem is here:
`
I fixed it with
`
def _pending_jobs(self, spider):
But a new problem arise. If you have free scrapyd slots, many independent jobs of same spider and your spider job running in one slot is too long , u cant use rest free slots cause your queue is blocked from running spider.
I think we must rework scheduling logic to take into account except spider name and args/kwargs too.
The text was updated successfully, but these errors were encountered: