Added burst count stat to interfaces

This commit is contained in:
Mark Qvist 2026-08-17 20:47:30 +02:00
parent e46496032c
commit c2eac12ff5
No known key found for this signature in database
2 changed files with 24 additions and 0 deletions

View file

@ -274,6 +274,12 @@ class Interface:
if hasattr(self, "parent_interface") and self.parent_interface != None:
self.parent_interface.sent_path_request(from_spawned=True)
@property
def ic_burst_count(self): return None
@property
def ic_pr_burst_count(self): return None
def incoming_announce_frequency(self):
n = len(self.ia_freq_deque)
if not n > self.IC_DEQUE_MIN_SAMPLE: return 0