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 memory leak #29

Merged
merged 7 commits into from
May 19, 2023
Merged

Fix memory leak #29

merged 7 commits into from
May 19, 2023

Conversation

lucasheld
Copy link
Owner

Some events were added to a list after they were received, without ever limiting the size of the list. This is fixed by handling the events in the same way as uptime kuma does. Therefore, the return values of some methods had to be changed:

  • get_heartbeats
  • get_important_heartbeats
  • get_heartbeat
  • avg_ping
  • cert_info
  • uptime

closes #19

@lucasheld lucasheld force-pushed the bugfix/memory-leak branch from 12ef204 to 7771d51 Compare May 19, 2023 12:01
@lucasheld lucasheld merged commit 77630e9 into master May 19, 2023
@lucasheld lucasheld deleted the bugfix/memory-leak branch May 19, 2023 12:07
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
1 participant