gyorilab / indra_db

A Database-based knowledge back-end built on and for INDRA. The INDRA Database is a service that can be set up by any user with their own content and knowledge access. Our implementation of the database is the back-end to many of our projects, providing a vast and detailed knowledge base derived from many resources.
GNU General Public License v3.0
16 stars 10 forks source link

Use connection pooling #223

Open kkaris opened 3 months ago

kkaris commented 3 months ago

Per title.

Should mitigate stale connection issues.

See: https://docs.sqlalchemy.org/en/14/core/engines.html#pooling

kkaris commented 1 month ago

This didn't work for the use case of getting curations. Needs further investigation.