mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 06:55:59 +08:00
make sure to close session in monitoring
This commit is contained in:
parent
a64a70cbc8
commit
ed089109bb
|
@ -50,6 +50,7 @@ if __name__ == "__main__":
|
|||
while True:
|
||||
log_postfix_metrics()
|
||||
log_nb_db_connection()
|
||||
Session.close()
|
||||
|
||||
# 1 min
|
||||
sleep(60)
|
||||
|
|
Loading…
Reference in a new issue