Fix memory leak #29
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/uptime-kuma-api#29
Loading…
Reference in a new issue
No description provided.
Delete branch "bugfix/memory-leak"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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