Hey folks!
So, I’m trying to figure out how to properly use the go-resty retrycondition in my project. I’ve got some basic retries working, but I’m not sure if I’m doing it the *best* way.
Like, should I be checking for specific HTTP status codes? Or maybe handling network errors differently? I’ve seen a few examples, but they’re kinda all over the place.
Anyone got some solid tips or snippets for go-resty retrycondition? Maybe something you’ve used in prod that actually works?
Also, is there a way to limit retries based on time or something? I don’t wanna spam the server lol.
Thanks in advance! 🙏
So, I’m trying to figure out how to properly use the go-resty retrycondition in my project. I’ve got some basic retries working, but I’m not sure if I’m doing it the *best* way.
Like, should I be checking for specific HTTP status codes? Or maybe handling network errors differently? I’ve seen a few examples, but they’re kinda all over the place.
Anyone got some solid tips or snippets for go-resty retrycondition? Maybe something you’ve used in prod that actually works?
Also, is there a way to limit retries based on time or something? I don’t wanna spam the server lol.
Thanks in advance! 🙏
