-
Notifications
You must be signed in to change notification settings - Fork 493
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: reduce the entities collected by default #7366
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
klesh
reviewed
Apr 26, 2024
for s := range subtaskMetas { | ||
compareName := pluginName + ":" + subtaskMetas[s].Name | ||
if stringInSlice(compareName, enableSubtasksList) { | ||
subtaskMetas[s].EnabledByDefault = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we allow specifying true/false
so #7375 can be covered as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dislike the config in env.sample, but I have no better ideas.
d4x1
previously approved these changes
Apr 26, 2024
klesh
approved these changes
Apr 28, 2024
close #7375 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Reduce the entities collected by default and implement a configuration that is convenient for users to collect
Does this close any open issues?
Related to #5920
Screenshots
github:
![img_v3_02a8_75ed7067-9a0f-457f-95b0-7be60d4c0fag](https://private-user-images.githubusercontent.com/101256042/325130977-e093e54c-fe8b-4659-b976-18b7b8ae3245.jpg?jw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XM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZjY2ZjNmMDgyNjA2NTU3ZDBmMTFmOTRlMmRmM2QwMzZkMWIwMjNiZTM0ODBhYmFlMjhiOGI3OTk3OTFmMDllJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.3PiCUglA67c0fVr8W6qQKhnaztIfwfCmcea3x2NOtkE)
Other Information
Any other information that is important to this PR.