Parse documents concurrently (up to 10 at a time via semaphore) instead of serially. Each coroutine uses its own DB session for per-document status updates, while a shared lock serializes job progress increments on the main session to avoid session-sharing issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| .env.example | ||
| alembic.ini | ||
| Dockerfile | ||
| requirements.txt | ||