Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go2rtc & remote detectors network bandwidth usage to System table #6526

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update bandwidth calculation to include both incoming and outgoing tr…
…affic
  • Loading branch information
skrashevich committed May 18, 2023
commit f31fbbb2e8084ca2a08154583bd85fde7d7122cb
2 changes: 1 addition & 1 deletion frigate/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading