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've been testing my foal-ts microservices on a kind of "production" environment. I'm connecting each service with a MySQL database.
The problem is the next: There are lots of open connections to the database (now I have 57 connections after reboot the server), when in reality few services (7) are running.
I'm using FoalTS with Typeorm.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I feel like connections are not closed when the server shuts down. Maybe the solution would be to add something like process.on('exit', () => myConnection.close()) ?
Version of FoalTS: 2.9.0
Hi! I've been testing my foal-ts microservices on a kind of "production" environment. I'm connecting each service with a MySQL database.
The problem is the next: There are lots of open connections to the database (now I have 57 connections after reboot the server), when in reality few services (7) are running.
I'm using FoalTS with Typeorm.
Thanks in advance.
The text was updated successfully, but these errors were encountered: