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
Describe the bug
On version 2.1.4 was added Postgres and MySql options to Agent Memory node. It works fine but after a few messages starts getting the "Too many connections errors" and my database has 29 connections.
To Reproduce
Steps to reproduce the behavior:
Create a agent flow
Add a Agent Memory with Postgres or MySQL option
Send a few messages
Check the database connections number
Expected behavior
Create a singleton of the TypeOrm DataSource, I checked the project code and I found that its been created a new instance of TypeOrm DataSource every time a MySqlSaver or PostgresSave it's created, this might be the problem.
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
On version 2.1.4 was added Postgres and MySql options to Agent Memory node. It works fine but after a few messages starts getting the "Too many connections errors" and my database has 29 connections.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Create a singleton of the TypeOrm DataSource, I checked the project code and I found that its been created a new instance of TypeOrm DataSource every time a MySqlSaver or PostgresSave it's created, this might be the problem.
Screenshots
The text was updated successfully, but these errors were encountered: