edge-data-latency icon indicating copy to clipboard operation
edge-data-latency copied to clipboard

use HTTP instead of WebSockets in neon-prisma routes

Open nikolasburk opened this issue 1 year ago • 2 comments

The new addition of Prisma ORM with Neon uses the WebSocket connection of the Neon Serverless Driver while the one with Drizzle uses the HTTP connection.

This PR updates this and makes Prisma ORM also use HTTP so that the comparison is based on using the same protocols.

I've left the instantiation of the previous WebSocket connection around in comments as additional context.

nikolasburk avatar May 10 '24 09:05 nikolasburk

@nikolasburk is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 10 '24 09:05 vercel[bot]

Hey @leerob, do you think you could merge this or is there anything you think that needs to be changed?

nikolasburk avatar May 16 '24 16:05 nikolasburk