Fix new services implementation 7

This commit is contained in:
Urtzi Alfaro
2025-08-15 22:40:19 +02:00
parent 277b1332cb
commit 399ba80067
15 changed files with 433 additions and 534 deletions

View File

@@ -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",