Skip to content

fix: reuse MySQL Record Manager DataSource across operations - #6703

Open
baigfaraz wants to merge 1 commit into
FlowiseAI:mainfrom
baigfaraz:fix/mysql-record-manager-datasource-reuse
Open

fix: reuse MySQL Record Manager DataSource across operations#6703
baigfaraz wants to merge 1 commit into
FlowiseAI:mainfrom
baigfaraz:fix/mysql-record-manager-datasource-reuse

Conversation

@baigfaraz

Copy link
Copy Markdown

Avoid creating and destroying a TypeORM pool on every CRUD call by keeping an instance-level DataSource, releasing QueryRunners after each op, and closing the pool after indexing and document-store deletion.

Avoid creating and destroying a TypeORM pool on every CRUD call by
keeping an instance-level DataSource, releasing QueryRunners after
each op, and closing the pool after indexing and document-store deletion.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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.

1 participant