Skip to content

Commit

Permalink
fix oom error in publish path(apache#169)
Browse files Browse the repository at this point in the history
fix oom error in publish path
  • Loading branch information
aloyszhang authored Aug 18, 2020
1 parent b6ed767 commit 9ed74a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ private void doPublishMessages(TopicName topic) {
} else {
result.getRight().complete(new PartitionResponse(Errors.NONE));
}
headerAndPayload.release();
});
} catch (Exception e) {
// should not comes here.
Expand Down

0 comments on commit 9ed74a9

Please sign in to comment.