Fix memory leak #29

Merged
lucasheld merged 7 commits from bugfix/memory-leak into master 2023-05-19 14:07:34 +02:00
lucasheld commented 2023-05-01 20:13:29 +02:00 (Migrated from github.com)

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

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
Sign in to join this conversation.
No description provided.