Skip to content

Commit deeb397

Browse files
authored
Clarify error message in Runnable Request (#3393)
* Clarify error message in Runnable Request for connection acquisition timeouts Replacing "pool lease timeout" with "connection acquisition timeout" * Update error message in Runnable Request Changing "slowing" to "slow"
1 parent 9036020 commit deeb397

File tree

1 file changed

+2
-1
lines changed
  • http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils

1 file changed

+2
-1
lines changed

http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ private static String getMessageForTooManyAcquireOperationsError() {
115115
return "Maximum pending connection acquisitions exceeded. The request rate is too high for the client to keep up.\n"
116116

117117
+ "Consider taking any of the following actions to mitigate the issue: increase max connections, "
118-
+ "increase max pending acquire count, decrease pool lease timeout, or slowing the request rate.\n"
118+
+ "increase max pending acquire count, decrease connection acquisition timeout, or "
119+
+ "slow the request rate.\n"
119120

120121
+ "Increasing the max connections can increase client throughput (unless the network interface is already "
121122
+ "fully utilized), but can eventually start to hit operation system limitations on the number of file "

0 commit comments

Comments
 (0)