release pooled SQL connection when sending an email
This commit is contained in:
parent
27b9f46f30
commit
8b4131332b
@ -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():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user