mirror of https://github.com/grpc/grpc-java.git
core: Make RPC buffering comment more clear
It wasn't entirely clear what "it" referred to.
This commit is contained in:
parent
75fa441fc9
commit
107fdb4b7c
|
|
@ -140,7 +140,7 @@ final class DelayedClientTransport implements ManagedClientTransport {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// This picker's conclusion is "buffer". If there hasn't been a newer picker set (possible
|
// This picker's conclusion is "buffer". If there hasn't been a newer picker set (possible
|
||||||
// race with reprocess()), we will buffer it. Otherwise, will try with the new picker.
|
// race with reprocess()), we will buffer the RPC. Otherwise, will try with the new picker.
|
||||||
synchronized (lock) {
|
synchronized (lock) {
|
||||||
PickerState newerState = pickerState;
|
PickerState newerState = pickerState;
|
||||||
if (state == newerState) {
|
if (state == newerState) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue