Increase security and reformat
This commit is contained in:
@@ -24,7 +24,6 @@ async def init_mysql_pool():
|
||||
|
||||
async def close_mysql_pool():
|
||||
"""Close the MySQL connection pool properly."""
|
||||
global mysql_pool
|
||||
if mysql_pool:
|
||||
mysql_pool.close()
|
||||
await mysql_pool.wait_closed()
|
||||
|
||||
Reference in New Issue
Block a user