Skip to content

Commit 58d9090

Browse files
committed
Fix statistics
1 parent f1cb130 commit 58d9090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def days():
147147
days[hour].hit += r[1]
148148
days[hour].bytes += r[2]
149149
days[hour].qps += r[3]
150-
days[hour].bandwidth += r[4]
150+
days[hour].bandwidth = max(days[hour].bandwidth, r[4])
151151
for day in sorted(days.keys()):
152152
data.append({
153153
"_day": day,

0 commit comments

Comments
 (0)