mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Update bandwidth calculation to include both incoming and outgoing traffic
This commit is contained in:
parent
d645677255
commit
f31fbbb2e8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user