Skip to content

Commit 35c629c

Browse files
author
Stephane Landelle
committed
Merge pull request AsyncHttpClient#547 from nremond/conn_timeout
Uniformized timeout message
2 parents 9aba8ca + 54869e7 commit 35c629c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/netty/src/main/java/org/asynchttpclient/providers/netty/request/timeout/RequestTimeoutTimerTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void run(Timeout timeout) throws Exception {
4747
if (!nettyResponseFuture.isDone() && !nettyResponseFuture.isCancelled()) {
4848
long age = millisTime() - nettyResponseFuture.getStart();
4949
expire("Request timed out to " + nettyResponseFuture.getChannelRemoteAddress() + " of "
50-
+ nettyResponseFuture.getRequestTimeoutInMs() + " ms after " + age + " ms", age);
50+
+ nettyResponseFuture.getRequestTimeoutInMs() + " ms", age);
5151
nettyResponseFuture.setRequestTimeoutReached();
5252
}
5353
}

0 commit comments

Comments
 (0)