mirror of https://github.com/grpc/grpc-java.git
Replace name in TODO to a known name, otherwise MOE will complain about it
This commit is contained in:
parent
a7398dba38
commit
8d0b5b0c4d
|
|
@ -226,7 +226,8 @@ final class ClientCallImpl<ReqT, RespT> extends ClientCall<ReqT, RespT>
|
||||||
*/
|
*/
|
||||||
static boolean updateTimeoutHeader(@Nullable Long deadlineNanoTime, Metadata headers) {
|
static boolean updateTimeoutHeader(@Nullable Long deadlineNanoTime, Metadata headers) {
|
||||||
// Fill out timeout on the headers
|
// Fill out timeout on the headers
|
||||||
// TODO(someone): Find out if this should always remove the timeout, even when returning false.
|
// TODO(carl-mastrangelo): Find out if this should always remove the timeout,
|
||||||
|
// even when returning false.
|
||||||
headers.removeAll(TIMEOUT_KEY);
|
headers.removeAll(TIMEOUT_KEY);
|
||||||
// Convert the deadline to timeout. Timeout is more favorable than deadline on the wire
|
// Convert the deadline to timeout. Timeout is more favorable than deadline on the wire
|
||||||
// because timeout tolerates the clock difference between machines.
|
// because timeout tolerates the clock difference between machines.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue