fix(nanoclaude): remove shadowed logging import in lifespan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,6 @@ async def lifespan(app: FastAPI):
|
||||
from db.database import cleanup_old_conversations
|
||||
deleted = await cleanup_old_conversations(days=7)
|
||||
if deleted:
|
||||
import logging
|
||||
logging.getLogger(__name__).info("Cleaned up %d old conversation messages", deleted)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user