release pooled SQL connection when sending an email

This commit is contained in:
Daniel Schick 2025-03-07 10:05:14 +01:00
parent 27b9f46f30
commit 8b4131332b

View File

@ -177,6 +177,8 @@ def SendEmails(email_dict):
finally:
if conn is not None:
conn.quit()
if pooledConnection is not None:
pooledConnection.close()
def SendNotifications():