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

Function init_database

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

Source from the content-addressed store, hash-verified

40
41# init postgres db pool instance
42async def init_database():
43 logger.info("Initializing postgres database connection pool..")
44 await postgres_pool.init()
45
46 logger.info("Initializing redis connection..")
47 await redis_conn.init()
48
49
50# close postgres db pool instance

Callers 1

lifespanFunction · 0.90

Calls 1

initMethod · 0.45

Tested by

no test coverage detected