documenso/packages
David Nguyen f6eddaa9f6
fix: remove duplicate neon pooler (#990)
## Description

Fixes the issue with Vercel preview deployments failing.

It appears that the old `PGHOST` environment variable injected by neon
was:

`ep-snowy-snowflake-a2vc5pa2.eu-central-1.aws.neon.tech`

It is now:

`ep-snowy-snowflake-a2vc5pa2.eu-central-1-pooler.aws.neon.tech`

Notice the `-pooler` being attached automatically to the `PGHOST`.

## References

> The following changes were made to the [Neon Vercel
Integration](https://vercel.com/integrations/neon):
>
>To ensure that users accessing a Neon database from a serverless
environment have enough connections, the DATABASE_URL and PGHOST
environment variables added to a Vercel project by the Neon integration
are now set to a pooled Neon connection string by default. Pooled
connections support up to 10,000 simultaneous connections. Previously,
these variables were set to an unpooled connection string supporting
fewer concurrent connections.

https://neon.tech/docs/changelog

https://neon.tech/docs/guides/vercel#manage-vercel-environment-variables
2024-03-07 18:17:28 +08:00
..
api fix: api documentation errors on ssr 2024-03-01 14:54:41 +11:00
app-tests fix: update e2e tests 2024-02-29 15:19:38 +11:00
assets chore: tidy changes 2024-02-29 14:09:17 +11:00
ee chore: rename community => early adopter 2024-03-05 13:04:46 +00:00
email Merge branch 'main' into feat/add-runtime-env 2024-02-12 12:30:35 +11:00
eslint-config chore: fix package vulnerabilities 2024-01-03 13:23:13 +05:30
lib chore: remove bcrypt 2024-03-07 18:30:22 +11:00
prettier-config fix: support optimise imports 2023-11-06 13:01:14 +11:00
prisma fix: remove duplicate neon pooler (#990) 2024-03-07 18:17:28 +08:00
signing fix: handle signature annotations 2024-03-03 11:36:28 +11:00
tailwind-config Merge branch 'main' into feat/webhook-implementation 2024-02-26 12:47:21 +11:00
trpc feat: add offline development support (#987) 2024-03-05 22:06:48 +11:00
tsconfig feat: add server crypto (#863) 2024-01-25 16:07:57 +11:00
ui Merge branch 'main' into feat/public-profile-1 2024-02-29 14:08:19 +11:00