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(agent): only read the config once #12607

Merged
merged 2 commits into from
Feb 6, 2023
Merged

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Feb 2, 2023

Pass the contents of the config from the reloadLoop into runAgent. Currently the behavior is to go through and read the config twice.

fixes: #12606

Pass the contents of the config from the reloadLoop into runAgent.
Currently the behavior is to go through and read the config twice.

fixes: influxdata#12606
@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Feb 2, 2023
@powersj
Copy link
Contributor Author

powersj commented Feb 2, 2023

I need to test this further, but wanted to toss this up now.

@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Feb 2, 2023

@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Feb 3, 2023
Copy link
Contributor

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @powersj!

@srebhan srebhan merged commit 31a87df into influxdata:master Feb 6, 2023
powersj added a commit that referenced this pull request Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On start, the config is loaded twice
2 participants