Skip to content

How to set connectionTimeout, readTimeout for AwsCrtAsyncHttpClient #3249

Answered by debora-ito
harrisliangsu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mmflys the customization of connectionTimeout is not supported, we'll need to work together with the CRT team to add support for it. I've added a task in our backlog.

The equivalent of readTimeout in the AwsCrtAsyncHttpClient would be minThroughputInBytesPerSecond:

ConnectionHealthChecksConfiguration.Builder minThroughputInBytesPerSecond(Long minThroughputInBytesPerSecond)

Sets a throughput threshold for connections. Throughput below this value will be considered unhealthy.

I've created a feature request for tracking: #3251

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@harrisliangsu
Comment options

Answer selected by harrisliangsu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants