While I am not sure about how you would go about handling this issue with Vercel, given that the orchestrator takes care of the limits on data connections, I would recommend keeping the max_connections to as low as 5 and also use Amazon's Aurora DB or something similar to Supabase. There's more literature by Vercel available at https://vercel.com/guides/connection-pooling-with-serverless-functions. Their recent 'fluid compute' feature has a longer serving instance that might reduce your connections whereas something like Supabase that creates a layer of managed APIs to interact with instead of using a driver or plugin is useful in such instances.