optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Possible fix for database error #1849

Closed RomeshA closed 2 years ago

RomeshA commented 2 years ago

Adds a missing close session command to hopefully eliminate the leak giving rise to sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/14/3o7r