xeno
xeno
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
API routes using tRPC. No other platform.
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
so the pooled connection might be interfering with the subscription socket
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
thank you. Another compounding factor is that it is deployed to vercel and the listener runs as a serverless function
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
I have multiple Neon databases setup with Pulse and it's the same for all of them.
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
It's been this way for months and I just got around to taking a look.
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
No errors. Just no events whatsoever.
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
I'm referring to connecting from Prisma on the client side
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
all good
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
this step is all set, it has the direct connection string
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
since the current prisma instance uses a pooled connection
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
That's what I was asking - will I need to initialize a separate prisma instance just for pulse?
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
When I changed my DATABASE_URL to remove the -pooled part from my Neon connection string, everything started working as expected.
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
yes, understood. However, it seems like using Pulse from my backend using a pooled connection doesn't work (subscriptions don't work).
26 replies
PPrisma
Created by xeno on 2/26/2025 in #help-and-questions
Initializing a specific connection string for Prisma Pulse
Hi, I'm asking specifically about connecting from the prisma client. Will it use the DIRECT_URL or does the DATABASE_URL have to be the direct connection?
26 replies
PPrisma
Created by xeno on 1/9/2025 in #help-and-questions
Tips for using Neon + Pulse + tRPC for real-time updates
I thought it might be a tRPC issue, but other subscriptions I had never terminated by themselves. So my guess is
for await (const event of events) {
for await (const event of events) {
ends after a short while.
7 replies
PPrisma
Created by xeno on 1/9/2025 in #help-and-questions
Tips for using Neon + Pulse + tRPC for real-time updates
Using Neon, getting no error messages
7 replies
PPrisma
Created by xeno on 1/9/2025 in #help-and-questions
Tips for using Neon + Pulse + tRPC for real-time updates
7 replies
PPrisma
Created by xeno on 1/9/2025 in #help-and-questions
Tips for using Neon + Pulse + tRPC for real-time updates
I keep seeing Pulse events arriving with really long delays and I'm not sure why that's happening
7 replies