From f31fbbb2e8084ca2a08154583bd85fde7d7122cb Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Thu, 18 May 2023 09:21:47 +0300 Subject: [PATCH] Update bandwidth calculation to include both incoming and outgoing traffic --- frigate/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/util.py b/frigate/util.py index b5e5ac2c9..5789fc1b7 100755 --- a/frigate/util.py +++ b/frigate/util.py @@ -869,7 +869,7 @@ def get_bandwidth_stats() -> dict[str, dict]: ): process = stats[0].split("/") usages[process[len(process) - 2]] = { - "bandwidth": round(float(stats[2]), 1), + "bandwidth": round(float(stats[1])+float(stats[2]), 1), } except: continue