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(db): Do not write argo apps if disabled #1989

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

sven-urbanski-freiheit-com
Copy link
Contributor

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com commented Sep 27, 2024

While the helm parameter argocd.generateFiles=false technically worked, it would still request a lot of data that is not necessary. With this change, we reduce the number of queries to the database for the case argocd.generateFiles=false.

Ref: SRX-YNEAHU

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com requested a review from a team as a code owner September 27, 2024 07:58
While the helm parameter argocd.generateFiles=false technically worked,
it would still request a lot of data that is not necessary.
With this change, we reduce the number of queries to the database.

Ref: SRX-YNEAHU
@jonaswittbrodt
Copy link

Could you move the check to before to before the span is opened?

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com merged commit 5db1f4b into main Sep 27, 2024
17 checks passed
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com deleted the su-fix-argo-generate branch September 27, 2024 08:22
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.

3 participants