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

fix: Unnecessarily eager dag preload #291

Merged
merged 4 commits into from
Jan 27, 2022

Conversation

saikonen
Copy link
Collaborator

Fixes unnecessarily eager DAG preloading that happens during service launch. Previous implementation was agnostic whether a run can have a DAG or not, and was calling the cache action regardless, resulting in some unnecessary errors in service log.

Also refactors some of the DAG existence checking logic to the db layer.

@saikonen saikonen requested a review from obgibson January 27, 2022 14:00
@saikonen saikonen added the ready-for-review Ready for thorough review. label Jan 27, 2022
@oavdeev oavdeev merged commit 3953b86 into master Jan 27, 2022
@oavdeev oavdeev deleted the fix/unnecessarily-eager-dag-preload branch January 27, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Ready for thorough review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants