reframe comments

This commit is contained in:
AgraVator 2025-07-23 10:27:10 +05:30
parent c7135618ae
commit ca8e9ede7e
3 changed files with 4 additions and 4 deletions

View File

@ -201,8 +201,8 @@ final class DelayedClientTransport implements ManagedClientTransport {
}
/**
* Prevents creating any new streams. Buffered streams are not failed and may still proceed
* when {@link #reprocess} is called. The delayed transport will be terminated when there is no
* Prevents creating any new streams. Buffered streams are not failed and may still proceed
* when {@link #reprocess} is called. The delayed transport will be terminated when there is no
* more buffered streams.
*/
@Override

View File

@ -656,7 +656,7 @@ final class InternalSubchannel implements InternalInstrumented<ChannelStats>, Tr
Preconditions.checkState(state.getState() == CONNECTING,
"Expected state is CONNECTING, actual state is %s", state.getState());
addressIndex.increment();
// Continue reconnecting with remaining addresses.
// Continue to reconnect if there are still addresses to try.
if (!addressIndex.isValid()) {
pendingTransport = null;
addressIndex.reset();

View File

@ -92,7 +92,7 @@ final class PickFirstLeafLoadBalancer extends LoadBalancer {
return Status.FAILED_PRECONDITION.withDescription("Already shut down");
}
// Check weather or not this is a petiole policy, which is based off of an address attribute
// Check whether this is a petiole policy, which is based off of an address attribute
Boolean isPetiolePolicy = resolvedAddresses.getAttributes().get(IS_PETIOLE_POLICY);
this.notAPetiolePolicy = isPetiolePolicy == null || !isPetiolePolicy;