MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / close_database

Function close_database

backend/app/database/connection.py:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50# close postgres db pool instance
51async def close_database():
52 logger.info("Closing postgres database connection pool..")
53 await postgres_pool.close()
54
55 logger.info("Closing redis connection..")
56 await redis_conn.close()

Callers 1

lifespanFunction · 0.90

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected