Skip to content

[TASK] Application should use database connection pool #179

@jakewheeler

Description

@jakewheeler

🚧 What needs to be done

The refiner app code currently does not do any connection pooling. It opens and closes a single connection. In order to ensure the app is production ready we will want to switch over to a connection pooling setup.

🤔 Why it needs to be done

Opening and closing connections is a heavy process. We want to avoid this when possible and instead grab an open, available connection from the pool.

🏗️ Acceptance Criteria

  • Pooling has been configured
  • App has been restructured as needed
  • Tests updated as needed

⚙️ Technical Notes

Please refer to this page as a reference when implementing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions