Browse Source

fix

pull/5890/head
chrislu 7 months ago
parent
commit
9a5cc065b0
  1. 1
      weed/mq/client/sub_client/on_each_partition.go

1
weed/mq/client/sub_client/on_each_partition.go

@ -66,7 +66,6 @@ func (sub *TopicSubscriber) onEachPartition(assigned *mq_pb.BrokerPartitionAssig
case <-stopCh: case <-stopCh:
subscribeClient.CloseSend() subscribeClient.CloseSend()
return return
case ack := <-partitionOffsetChan:
case ack, ok := <-partitionOffsetChan: case ack, ok := <-partitionOffsetChan:
if !ok { if !ok {
subscribeClient.CloseSend() subscribeClient.CloseSend()

Loading…
Cancel
Save