rustclan
Explore posts from serversTTCTheo's Typesafe Cult
•Created by rustclan on 9/3/2023 in #questions
TRPC error handling
Thank you 🙂
4 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 4/30/2023 in #questions
TRPC ratelimiting endpoints (race conditions)
bump
3 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 4/30/2023 in #questions
TRPC ratelimiting endpoints (race conditions)
function which needs to be ratelimited (using the redis cache)
A big band aid fix would be to just add an artificial wait:
But obviously this is not very elegant..
3 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 12/4/2022 in #questions
TRPC cache (with vercel, but not working locally too)
bump
2 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/30/2022 in #questions
TRPC max retries on endpoint
yep. I want to change global. Useful to know that i can change specific query tho. thanks!
15 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/30/2022 in #questions
TRPC max retries on endpoint
Thank you so much!
I had to insert
queryClientConfig
inside of this initaliser 🙂15 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/30/2022 in #questions
TRPC max retries on endpoint
I'm looking for where the rq/adapter is made and I cannot find where I can configure the queryclient. i ASSUME IT IS IN
trpc.ts
after looking at the trpc docs, it appears this is where it is intialized. But cannot find any information about adding custom reactquery options.15 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/30/2022 in #questions
TRPC max retries on endpoint
oh right okay. Thank you 🙂
15 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/30/2022 in #questions
TRPC max retries on endpoint
oh apologies. I was not aware trpc used react query
15 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
You have saved me many hours
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
Np. I appreciate the help 🙂
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
Thanks! That fixes it. Sorry for that mistake 🙂
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
Alright yea, that resolves it.
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
ill try comment this out see if that resolves it.
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
Not that I know of. I'm trying to use
env.NEXT_PUBLIC_CLIENT_INVITE_URL
in a component. But this is a client env as far as I know.27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
Nope! Unfortunately still the same.
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
hmm. My database env is:
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
me too! 😛
27 replies
TTCTheo's Typesafe Cult
•Created by rustclan on 11/20/2022 in #questions
invalid environment variables
correct, it has contents. It is a url
example:
27 replies