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

Bugfix/redis connection is closed #3591

Merged

Conversation

xmaiconx
Copy link
Contributor

Refactored Redis Connection Management

This pull request refactors the Redis connection handling to remove the singleton pattern, which previously restricted the application to a single Redis client configuration. By opening and closing connections per operation, we ensure that multiple Redis clients can be configured and used independently within the application. This change improves flexibility and aligns with best practices for managing database connections.

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @xmaiconx !

@HenryHengZJ HenryHengZJ merged commit d20a970 into FlowiseAI:main Dec 3, 2024
2 checks passed
@xmaiconx xmaiconx deleted the bugfix/redis-connection-is-closed branch December 4, 2024 14:28
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

Successfully merging this pull request may close these issues.

2 participants