You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have an application that is using Bree on a Batch Server to run Jobs on a Periodic Basis.
I am running into an issue where I an getting a Client Connection Abort every time a Worker Job runs.
I am using Prisma: https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/connection-management , which does Connection Pooling. It is used both by Bree and by the Worker Jobs, but is not passed between them. It is my understanding that Worker Jobs share no data with Bree, unless it is passed down, and even then, I was thinking that something like a Database connection would not be able to be shared. If someone could give me some insight as to how best to run the Worker Jobs where their connections would not interfere with the Bree process, it would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have an application that is using Bree on a Batch Server to run Jobs on a Periodic Basis.
I am running into an issue where I an getting a Client Connection Abort every time a Worker Job runs.
I am using Prisma: https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/connection-management , which does Connection Pooling. It is used both by Bree and by the Worker Jobs, but is not passed between them. It is my understanding that Worker Jobs share no data with Bree, unless it is passed down, and even then, I was thinking that something like a Database connection would not be able to be shared. If someone could give me some insight as to how best to run the Worker Jobs where their connections would not interfere with the Bree process, it would be greatly appreciated.
Environment
AWS RDS Aurora
MySQL 5.7
Docker Containers
Node ^12.0, Express ^4.17, Prisma ^4.11
Beta Was this translation helpful? Give feedback.
All reactions