how do I configure the S3 http client? #236
-
I wanted to configure the timeout options in the s3 client , I tried to get some hint from [https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/custom-http.html] but I'm not sure if that's helpful for gauging how to do it in the rust API , any guidance or even any pointer to packages/files I should look at to answer this for my self will be much appreciated! . |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
currently, there aren't any timeout options available, although they're on the roadmap. In the meantime, your best option would be to wrap a timeout around the client with something like https://docs.rs/tokio/1.12.0/tokio/time/fn.timeout.html |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
currently, there aren't any timeout options available, although they're on the roadmap. In the meantime, your best option would be to wrap a timeout around the client with something like https://docs.rs/tokio/1.12.0/tokio/time/fn.timeout.html