make fn scoped public in retry.rs #2828
Replies: 1 comment 1 reply
-
|
Yes, the goal was to eventually make the API more public to allow more things. But in order to do so, there's some conceptual design challenges that need to handled, at least to help guide the user to making wise choices when they don't realize there is danger. The reason for the scopes in the first place is that budgets likely shouldn't be applied to all hosts. But budgets are extremely important. It's explained more in this blog post I wrote while designing the feature: https://seanmonstar.com/blog/reqwest-retries/ So, to open that up, I'd want a design that might allow more hosts, while still encouraging budgets. Want to think about that design space? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋🏽,
nice to see reqwest adding it's own retry helpers. Would it be possible to make this function
reqwest/src/retry.rs
Line 89 in 994b8a0
Beta Was this translation helpful? Give feedback.
All reactions