Fork me on GitHub
#pathom
<
2022-11-18
>
Panel02:11:38

Are there built-in helper to throttling when consume API in resolver ?

wilkerlucio22:11:00

nothing included in Pathom

Eric Dvorsak09:11:47

you want to throttle globally or per resolver?

Eric Dvorsak09:11:50

I've implemented per-resolver throttling in Lacinia in the past by wrapping resolvers and using redis. if you only have one instance of your application you could use core cache with a TTLCacheQ and wrap the resolvers you want to throttle

👍 1