© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
7 replies
xexr.

Drizzle with Next 13.4.2 & Vercel Postgres Timeout

Hi all.

I'm trying out NextJS server actions and Drizzle for the first time.

I have it hooked up to Vercel Postgres as the docs describe and all seems to work.

However, after 5 or 6 reads or writes, it seems like the db connection stalls and the serverless / edge function eventually timesout until restarted.

I've enabled drizzle logs and I see the query being fired but then nothing, it stops at that point.

I can't work out what I'm doing wrong and appreciate any suggestions in the right direction.

I wonder if it's some sort of pool issue, but then I'm using the direct vercel/postgres library and suggested drizzle config.

Repo for example here: https://github.com/Xexr/next_test

Deployment so you can see it fail here: https://next-drizzle-test.vercel.app/ (just refresh the page and eventually you'll see it timeout)
GitHub
GitHub - Xexr/next_test
Contribute to Xexr/next_test development by creating an account on GitHub.
GitHub - Xexr/next_test
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

@vercel/postgres & drizzle update?
Drizzle TeamDTDrizzle Team / help
3y ago
Next 13, Next-Auth with Neon Postgres and Drizzle vs Prisma 5
Drizzle TeamDTDrizzle Team / help
3y ago
Deploying Next.js w/ Drizzle on Vercel with Turborepo
Drizzle TeamDTDrizzle Team / help
3y ago
Using drizzle postgres with trpc in Next.js app
Drizzle TeamDTDrizzle Team / help
16mo ago