Fix new services implementation 7
This commit is contained in:
@@ -97,8 +97,11 @@ async def health_check():
|
||||
"""Health check endpoint"""
|
||||
try:
|
||||
# Test database connection
|
||||
with db_manager.get_session() as db:
|
||||
db = db_manager.get_session()
|
||||
try:
|
||||
db.execute("SELECT 1")
|
||||
finally:
|
||||
db.close()
|
||||
|
||||
return {
|
||||
"status": "healthy",
|
||||
|
||||
Reference in New Issue
Block a user