neondatabase / serverless

Connect to Neon PostgreSQL from serverless/worker/edge functions
https://www.npmjs.com/package/@neondatabase/serverless
MIT License
318 stars 11 forks source link

Use the same domain name for the connections #60

Closed khanova closed 5 months ago

khanova commented 5 months ago

Use the same domain name for the connections. It helps with connections caching on v8 side.

Pass endpont id inside the options for ws connections.

https://github.com/neondatabase/neon/issues/6290

kelvich commented 5 months ago

@duskpoet can you take a look this too? extra pair of eyes would be helpful