make sure to close session in monitoring

This commit is contained in:
Son 2022-03-07 17:52:16 +01:00
parent a64a70cbc8
commit ed089109bb

View file

@ -50,6 +50,7 @@ if __name__ == "__main__":
while True:
log_postfix_metrics()
log_nb_db_connection()
Session.close()
# 1 min
sleep(60)