long remainingRequestTimeMs(long timeMs) {
            if (hasInflightRequest(timeMs)) {
                return lastSendTimeMs + requestTimeoutMs - timeMs;
            } else {
                return 0;
            }
        }
Updates the manager when a request is sent.

@param node the destination of the request
@param correlationId the correlation id of the request
@param timeMs the current time
raft/src/main/java/org/apache/kafka/raft/RequestManager.java