File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -245,13 +245,12 @@ def ensure_active_group(self):
245
245
# ensure that there are no pending requests to the coordinator.
246
246
# This is important in particular to avoid resending a pending
247
247
# JoinGroup request.
248
- if self ._client .in_flight_request_count (self .coordinator_id ):
249
- while not self .coordinator_unknown ():
250
- self ._client .poll (delayed_tasks = False )
251
- if not self ._client .in_flight_request_count (self .coordinator_id ):
252
- break
253
- else :
254
- continue
248
+ while not self .coordinator_unknown ():
249
+ if not self ._client .in_flight_request_count (self .coordinator_id ):
250
+ break
251
+ self ._client .poll (delayed_tasks = False )
252
+ else :
253
+ continue
255
254
256
255
future = self ._send_join_group_request ()
257
256
self ._client .poll (future = future )
You can’t perform that action at this time.
0 commit comments