File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
google/cloud/pubsub_v1/subscriber/_protocol Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ def _get_ack_errors(
214214 return info .metadata
215215 return None
216216
217+
217218def _process_requests (
218219 error_status : Optional ["status_pb2.Status" ],
219220 ack_reqs_dict : Dict [str , requests .AckRequest ],
@@ -231,9 +232,9 @@ def _process_requests(
231232 requests_to_retry = []
232233 for ack_id in ack_reqs_dict :
233234 # Debug logging: slow acks
234- if ack_histogram and ack_reqs_dict [ack_id ]. time_to_ack > ack_histogram . percentile (
235- percent = 99
236- ):
235+ if ack_histogram and ack_reqs_dict [
236+ ack_id
237+ ]. time_to_ack > ack_histogram . percentile ( percent = 99 ):
237238 _SLOW_ACK_LOGGER .debug (
238239 "Message (id=%s, ack_id=%s) ack duration of %s s is higher than the p99 ack duration" ,
239240 ack_reqs_dict [ack_id ].message_id ,
You can’t perform that action at this time.
0 commit comments