Hey! I usually set a max number of retries for axios retry—like 3 or 5. Letting it go wild can sometimes just hammer the server unnecessarily, ya know?
For delays, I prefer exponential backoff. It’s a lifesaver when the server’s struggling. I’ve used the `axios-retry` library, and it’s super easy to set up. No need to reinvent the wheel!
Logging-wise, I log the final failure and maybe the first retry if it’s a critical system. Too many logs can clutter things.
Check out the `axios-retry` package on npm—it’s a game-changer!
For delays, I prefer exponential backoff. It’s a lifesaver when the server’s struggling. I’ve used the `axios-retry` library, and it’s super easy to set up. No need to reinvent the wheel!
Logging-wise, I log the final failure and maybe the first retry if it’s a critical system. Too many logs can clutter things.
Check out the `axios-retry` package on npm—it’s a game-changer!
