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 inconsistent configuration (specifically RecordRtts). #73

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

icedream
Copy link
Contributor

@icedream icedream commented Jun 8, 2022

The original fix for memory leaks #49 only disabled the RTT tracking code for hosts configured via CLI, not for hosts configured dynamically via SafeConfig.

Fixes #42.

(Also removes unnecessary explicit setting of Timeout to maximum value, that's the default in go-ping.)

Fixes SuperQ#42.

Signed-off-by: Carl Kittelberger <icedream@icedream.pw>
@icedream icedream force-pushed the pr/fix-inconsistent-config branch from b7de9cd to 14c4a39 Compare June 8, 2022 09:24
Copy link
Owner

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks!

Also, yea, the pinger.Timeout setting was from before I changed the default in the upstream library.

@SuperQ SuperQ merged commit 32317c4 into SuperQ:master Jun 8, 2022
SuperQ added a commit that referenced this pull request Jun 8, 2022
* [BUGFIX] Fix RecordRtts memory leak for config file targets #73

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Jun 8, 2022
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.

Memory leak?
2 participants