Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

More efficient active tasks call for executor cleanup #1972

Merged
merged 2 commits into from
Jul 10, 2019
Merged

Conversation

ssalinas
Copy link
Member

@ssalinas ssalinas commented Jul 5, 2019

With many slaves these calls can build up when they all run on a cron at once. The endpoint they use fetches full tasks rather than just ids, so it causes too many zk calls. This adds an endpoint to just grab the ids since that is all cleanup needs. The endpoint is essentially the same as the getTasksOnSlave one without the extra call to hydrate each task

@baconmania
Copy link
Contributor

🚢

@ssalinas ssalinas merged commit aef13c9 into master Jul 10, 2019
@ssalinas ssalinas deleted the tasks_on_slave branch July 10, 2019 14:47
@ssalinas ssalinas added this to the 0.23.0 milestone Jul 18, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants