Update a comment about ignoring 0 values in addition to None
This commit is contained in:
parent
1dcf7eb06d
commit
9016e29d20
@ -382,7 +382,7 @@ class SlackAlerting(CustomLogger):
|
||||
for value in latency_values
|
||||
]
|
||||
|
||||
# Get the indices of top 5 values with the highest numerical values (ignoring None values)
|
||||
# Get the indices of top 5 values with the highest numerical values (ignoring None and 0 values)
|
||||
top_5_slowest = sorted(
|
||||
range(len(replaced_slowest_values)),
|
||||
key=lambda i: replaced_slowest_values[i],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user