tl-its-umich-edu / unizin-validation

Unizin Validation Scripts
1 stars 4 forks source link

Database connection management could be more efficient #21

Closed ssciolla closed 4 years ago

ssciolla commented 4 years ago

Currently, the project creates a separate database connection (and closes after execution) for each query defined in dbqueries.py. It would likely be more efficient -- as well as help us test query execution times -- if connections for each data source specified in the .env were set up before any queries were run and then all of them were closed after all queries were run.