Thanks. Do you think the 200ms latency is due to me being in Brasil and the DB in Germany?
Thanks. Do you think the 200ms latency is due to me being in Brasil and the DB in Germany?


Connection terminated unexpectedly errors suddenly, how can I debug?https://developers.cloudflare.com/hyperdrive/platform/changelog/(https://www.cloudflare.com/ips/
max: 5 instead of max: 1 for connections? https://developers.cloudflare.com/hyperdrive/configuration/connect-to-postgres/#postgresjs
max: 1 is probably better as it's fewer moving parts to debug if you do run into issues.
{ connect_timeout: 1, max: 5 } and also have some setTimeout( helpers wrapping the whole function issuing the query -- but still see some successful queries record latencies of multiple minutes sometimes

Connection terminated unexpectedlyhttps://developers.cloudflare.com/hyperdrive/platform/changelog/(https://www.cloudflare.com/ips/max: 5max: 1max: 1{ connect_timeout: 1, max: 5 }setTimeout(