Proxy Community
Need Help Implementing go-resty retrycondition: Best Practices and Examples? - Printable Version

+- Proxy Community (https://proxycommunity.com/forum)
+-- Forum: Proxy Provider Discussions (https://proxycommunity.com/forum/forum-proxy-provider-discussions)
+--- Forum: Smartproxy (https://proxycommunity.com/forum/forum-smartproxy)
+--- Thread: Need Help Implementing go-resty retrycondition: Best Practices and Examples? (/thread-need-help-implementing-go-resty-retrycondition-best-practices-and-examples)

Pages: 1 2


RE: Need Help Implementing go-resty retrycondition: Best Practices and Examples? - stealthCircuitX - 10-03-2025

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! 🙌