Wrap blocking mkdir() calls in run_blocking for async startup and setup

This commit is contained in:
2026-04-14 13:54:47 +02:00
parent 6b436dc354
commit 2a7766d206
3 changed files with 4 additions and 2 deletions

View File

@@ -54,6 +54,8 @@ Any user action that exercises an error path on the `/config/global`, `/config/r
### TASK-02 — Wrap blocking `mkdir()` calls in `run_blocking()` 🔴
**Status:** Completed ✅
**Where:**
- `backend/app/services/setup_service.py` — line 178, inside `async def _ensure_database_initialized()`
- `backend/app/startup.py` — line 73, inside `async def startup_shared_resources()`