Skip to content

Commit

Permalink
Remove redundant pool object validation
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanSachi committed Jan 17, 2024
1 parent d570f07 commit a6006f2
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ public void destroyObject(Object o) throws Exception {
@Override
public boolean validateObject(Object o) {
TargetChannel targetChannel = (TargetChannel) o;
if (targetChannel.getHttp2ClientChannel() != null &&
targetChannel.getHttp2ClientChannel().getConnection().goAwayReceived()) {
return false;
}
if (targetChannel.getChannel() != null) {
boolean answer = targetChannel.getChannel().isActive();
LOG.debug("Validating channel: {} -> {}", targetChannel.getChannel().id(), answer);
Expand Down

0 comments on commit a6006f2

Please sign in to comment.