Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongodb for Chat history #1622

Closed
Ashes47 opened this issue Jan 27, 2024 · 1 comment
Closed

Mongodb for Chat history #1622

Ashes47 opened this issue Jan 27, 2024 · 1 comment

Comments

@Ashes47
Copy link
Contributor

Ashes47 commented Jan 27, 2024

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:

  1. Create any agent with mongodb for memory.
  2. As you use it you will see number of connections increases for every chat but doesn't come down.

Expected behavior
I think the ideal behaviour is open one connection and keep resuing it, or atleast close all opened connection.

Screenshots
image

@Ashes47
Copy link
Contributor Author

Ashes47 commented Jan 28, 2024

#1627.
Creating a singleton class for mondodb instance.

HenryHengZJ added a commit that referenced this issue Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants