betheluniversity / directory

A pythonic remake of the infamous directory.bethel.edu
0 stars 0 forks source link

Make sure we are closing our DB connections! #102

Closed c-schwarze closed 4 years ago

c-schwarze commented 4 years ago

Description

Dave mentioned to me that our banweb account was creating heavy usage for the DB. It was all from me running the directory locally.

Size and Type of change

How Has This Been Tested?

Checklist:

Only check what applies and what you have done.

c-schwarze commented 4 years ago

@josiahtillman we are not longer using conn_bw in app.db.db_connection_bw. I suppose we could just change it all to conn instead of conn_bw. I'll go ahead and do that to reduce confusion either way!