Closed Ashes47 closed 9 months ago
Describe the bug When using mongodb for chat history. Flowise opens multiple connection and does not close them.
Due to this i have hit now 500+ connection limit on mongoDB.
To Reproduce Steps to reproduce the behavior:
Expected behavior I think the ideal behaviour is open one connection and keep resuing it, or atleast close all opened connection.
Screenshots
https://github.com/FlowiseAI/Flowise/pull/1627. Creating a singleton class for mondodb instance.
Describe the bug When using mongodb for chat history. Flowise opens multiple connection and does not close them.
Due to this i have hit now 500+ connection limit on mongoDB.
To Reproduce Steps to reproduce the behavior:
Expected behavior I think the ideal behaviour is open one connection and keep resuing it, or atleast close all opened connection.
Screenshots