tustvold commented on issue #5396:
URL: https://github.com/apache/arrow-rs/issues/5396#issuecomment-2133046608

   I would recommend creating something like
   
   ```
   struct RetryContext {
       config: RetryConfig,
       semaphore: Arc<Semaphore>
   }
   ```
   
   To encapsulate the state. This could then be stored instead of `RetryConfig` 
on the clients such as `S3Client` and passed by reference to send_retry instead 
of `RetryConfig`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to