Skip to content

Commit

Permalink
Revert "[Bug] Fix lookupRequestSemaphore leak when topic not found vi…
Browse files Browse the repository at this point in the history
…a http protocol"
  • Loading branch information
pengxiangrui127 authored Nov 30, 2023
1 parent 752a9c9 commit a30e6bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,10 @@ protected CompletableFuture<Message<T>> internalReceiveAsync() {
} else {
decreaseIncomingMessageSize(message);
checkState(message instanceof TopicMessageImpl);
unAckedMessageTracker.add(message.getMessageId(), message.getRedeliveryCount());
unAckedMessageTracker.add(message.getMessageId(), message.getRedeliveryCount());
resumeReceivingFromPausedConsumersIfNeeded();
result.complete(message);
}
resumeReceivingFromPausedConsumersIfNeeded();
});
return result;
}
Expand Down

0 comments on commit a30e6bc

Please sign in to comment.