Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirly121 committed Nov 21, 2024
1 parent 583b58d commit 3d21285
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
public void start(Listener<RespT> responseListener, Metadata headers) {
requestStartTime = Instant.now();
QueryLogger queryLogger = callOptions.getOption(QUERY_LOGGER_OPTION);
if (queryLogger != null) {
queryLogger.info(
"[query][submitted]: submit the query to the channel {}",
channel.authority());
}
super.start(
new ForwardingClientCallListener.SimpleForwardingClientCallListener<RespT>(
responseListener) {
Expand Down Expand Up @@ -86,6 +81,11 @@ public void onClose(Status status, Metadata trailers) {
}
},
headers);
if (queryLogger != null) {
queryLogger.info(
"[query][submitted]: submit the query to the task queue of channel {}",
channel.authority());
}
}
};
}
Expand Down

0 comments on commit 3d21285

Please sign in to comment.