Need Help Implementing go-resty retrycondition: Best Practices and Examples?

10 Replies, 1987 Views

Wow, thanks everyone for the awesome tips! I tried the snippet with checking for 5xx and 429 status codes, and it’s working great so far.

I also added the `SetRetryWaitTime` and `SetRetryMaxWaitTime` like some of you suggested, and it’s definitely helping with the server load.

One quick follow-up: has anyone tried combining go-resty retrycondition with a circuit breaker pattern? I’m curious if that’s overkill or worth the effort.

Thanks again, y’all are legends! 🙌



Users browsing this thread: 1 Guest(s)