Skip to content

Commit

Permalink
feat: Add ChannelPoolSettings Getter for gRPC's ChannelProvider (#2612)
Browse files Browse the repository at this point in the history
Fixes #2610 ☕️

---------

Co-authored-by: Joe Wang <106995533+JoeWang1127@users.noreply.github.com>
  • Loading branch information
lqiu96 and JoeWang1127 authored Apr 2, 2024
1 parent 4942bc1 commit d0c5191
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,12 @@ public Integer getMaxInboundMetadataSize() {
return maxInboundMetadataSize;
}

/** The configured channel pool settings used for gRPC's ChannelProvider */
@BetaApi("Channel pool sizing api is not yet stable")
public ChannelPoolSettings getChannelPoolSettings() {
return channelPoolSettings;
}

@Override
public boolean shouldAutoClose() {
return true;
Expand Down

0 comments on commit d0c5191

Please sign in to comment.