TRPC max retries on endpoint
Hi,
for some reason, when the api endpoint errors it reruns the request 3 times, and then on the last time if it errors again it will then emit the
onError event. Is there a setting which I am unaware of which trys to rerun the requests x amount of times?This results in the page loading for a number of seconds before the user is forced to login with the nextauth
signIn function.Checking the console, the error is thrown every time. (In the picture, this is the result of one unauthorized page load)
I've had a look at the docs here: https://trpc.io/docs/v9/error-handling
and didn't see anything about a
auto retry or max retries function/property?
