3 ms·
It appears that Plaid is rate limiting and mongodb is at max number of connections.
by anderjaska 6y ago
It appears that Plaid is rate limiting and mongodb is at max number of connections.
- anderjaska 6y agoGoing to update mongo. There isn't much I can do about plaid
- devadvance 6y agoMaybe a quick cache in front of Plaid for now? Even in-mem might be a decent short term solution.
- anderjaska 6y agoAh if only I wasn't using vercel and serverless functions!
- styfle 6y agoYou can add a `Cache-Control` response header with `s-maxage` in your Serverless Function to cache at the Edge. https://vercel.com/docs/v2/serverless-functions/edge-caching https://vercel.com/docs/v2/serverless-functions/edge-caching https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#Expiration https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ca...