Skip to content

Commit a49a446

Browse files
committed
Use bytes instead of bytes per second
1 parent 985ec0e commit a49a446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netflowbot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ def perform_account_aggr_job(*args, **job_params):
116116
if last_used_seq is None:
117117
log.info(f"Counter was not yet initialized for job {job_id}, skipping.")
118118
return
119-
time_between = float(max_ts - last_used_ts)
119+
#time_between = float(max_ts - last_used_ts)
120+
time_between = 1 # we want to use bytes as unit, not bytes per second
120121

121122
# traffic:
122123
values = []

0 commit comments

Comments
 (0)