NeonN
Neon2y ago
23 replies
spotty-amber

Weird timeout on Cloudflare Workers

Hi. I was playing around with drizzle and the neon serverless driver over WebSockets and got an issue.
When deployed to Cloudflare Workers using Vercel and Next, the first request passes and the second request timeouts 100% of the times. When deployed to Lambda, it always works.

Here is the code: https://github.com/achaconm2001/neon-pool

There are 2 routes:
/ => Main Page (edge)
/test => Route (edge)

/2 => Main Page (lambda)
/test2 => Route (lambda)
GitHub
Contribute to achaconm2001/neon-pool development by creating an account on GitHub.
GitHub - achaconm2001/neon-pool
Was this page helpful?