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

Withhold targets from saturated crew controllers #1221

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Withhold targets from saturated crew controllers #1221

merged 3 commits into from
Jan 30, 2024

Conversation

wlandau
Copy link
Member

@wlandau wlandau commented Jan 30, 2024

Prework

Related GitHub issues and pull requests

Summary

The current CRAN version of targets greedily pushes tasks to crew controllers even if they are saturated, which may consume too much memory and confuse users. This PR withholds targets from saturated controllers, while keeping the internals running smoothly using the new push_backlog() and pop_backlog() methods in crew.

@wlandau wlandau merged commit 9ea013f into main Jan 30, 2024
15 checks passed
@wlandau wlandau deleted the 1220 branch January 30, 2024 17:53
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

Successfully merging this pull request may close these issues.

2 participants