A-Team-Rowan-University / a-team-website

Servers and database to manage the A-Team
https://a-team-rowan-university.github.io/a-team-website/webdev_lib/
4 stars 5 forks source link

Use a db connection pool #16

Closed timothyhollabaugh closed 5 years ago

timothyhollabaugh commented 5 years ago

The backend currently uses a single database connection that it shares and keeps connected for the entire life of the server. This causes MySQL to close it after a few days, causing database errors. A connection pool should fix this.