summaryrefslogtreecommitdiff
path: root/src/peers.c
AgeCommit message (Collapse)Author
2025-05-04Remove the duplicate resize hackJesper Jensen
It turns out this problem also included a bunch of other data corruption issues. I don't really know how that got in there, but I don't think this was a data-structure issue. We should revert to an assert to crash hard. We now have some checks that should give us a warning closer to when the corruption happens next time.
2025-05-04Check that the load is accurateJesper Jensen
2025-05-04time_t is apparently signed?Jesper Jensen
2025-05-04Extract the expire metric outJesper Jensen
2025-05-04Add metric to track next hash expireJesper Jensen
2025-05-04Add some check for expiry timeJesper Jensen
2025-05-04Add some code to assert that there are no dupesJesper Jensen
2025-05-04Drop duplicated peer entriesJesper Jensen
Apparently it's somehow possible for us to duplicate the peer entry. While we figure out how, let's just drop them instead of crashing.
2025-04-14Add current hash metricJesper Jensen
It seems like it would be nice to know how many infohashes we actually know about. Let's add a guage that tells us that directly.
2025-04-12Add prometheus monitoringJesper Jensen
2025-04-12I don't knowJesper Jensen
2025-04-12I don't rememberJesper Jensen