Replace name in TODO to a known name, otherwise MOE will complain about it

This commit is contained in:
Xudong Ma 2015-12-04 16:51:48 -08:00
parent a7398dba38
commit 8d0b5b0c4d
1 changed files with 2 additions and 1 deletions

View File

@ -226,7 +226,8 @@ final class ClientCallImpl<ReqT, RespT> extends ClientCall<ReqT, RespT>
*/
static boolean updateTimeoutHeader(@Nullable Long deadlineNanoTime, Metadata 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);
// Convert the deadline to timeout. Timeout is more favorable than deadline on the wire
// because timeout tolerates the clock difference between machines.