What is the recommended drizzle client setup in edge functions?
I'm doing this:
The database url is initialized to the ipv4 compatible shared pooler and stored in that env variable
This works fine most of the time. However, I get timeout errors flakily. After digging a bit, turns out the initialization of the postgres client takes 150 seconds or so sometimes... My client times out
Is this a known issue? Has someone run into this, or what are recommendations to keep the initialization/connection time reliably low?
The database url is initialized to the ipv4 compatible shared pooler and stored in that env variable
This works fine most of the time. However, I get timeout errors flakily. After digging a bit, turns out the initialization of the postgres client takes 150 seconds or so sometimes... My client times out
Is this a known issue? Has someone run into this, or what are recommendations to keep the initialization/connection time reliably low?