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

[BATCH] Refactor Database usage in validation.ts #3740

Open
1 task
LocalNewsTV opened this issue Dec 11, 2024 · 0 comments
Open
1 task

[BATCH] Refactor Database usage in validation.ts #3740

LocalNewsTV opened this issue Dec 11, 2024 · 0 comments

Comments

@LocalNewsTV
Copy link
Collaborator

Describe the task

If the task will only make sense to a dev, add a ⚡ to the title.

  • Refactor the Usage of database queries to pass a single connection across the runtime. Currently the application Creates/discards a database connection as required. Depending on the form this can run several times Per row, per batch upload adding to a good spike in consumption.

Value Add

  • Performance improvement

Acceptance Criteria

  • Only one Database connection created per Batch upload.

Additional Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant