Skip to content

Commit dd0a3fe

Browse files
committed
chore: Remove unneeded resize delta validation
1 parent 1c205e3 commit dd0a3fe

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/ChannelPoolSettings.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,6 @@ public ChannelPoolSettings build() {
247247
Preconditions.checkState(
248248
s.getMaxResizeDelta() <= MAX_ALLOWED_RESIZE_DELTA,
249249
"Max resize delta cannot be greater than " + MAX_ALLOWED_RESIZE_DELTA);
250-
Preconditions.checkState(
251-
s.getMaxResizeDelta() <= s.getMaxChannelCount(),
252-
"Max resize delta cannot be greater than max channel count");
253250
return s;
254251
}
255252
}

0 commit comments

Comments
 (0)