mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-22 22:14:47 +00:00
Previously, lychee would blindly retry all requests, no matter if the request error was transient or fatal. Taking a lesson from https://github.com/TrueLayer/reqwest-middleware, we can be more granular about the error behavior. This PR adds their retry logic to lychee, reducing the number of unnecessary requests significantly. I also made some ergonomic changes to the client, which should not affect its behavior. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||