scholarr/app/api
Justin Visser f50b609a36 fix(db,frontend): reserve DB connections for API and reduce frontend polling
Background tasks (ingestion, PDF resolution, scheduler) now acquire an
asyncio.Semaphore before checking out a DB connection, guaranteeing at
least N connections remain available for API request handlers. Removes
duplicate polling loop from PublicationsPage, debounces publication
reload on run-status changes, and increases poll interval from 5s to 15s
since SSE handles live discovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 19:09:06 +01:00
..
routers fix(db,frontend): reserve DB connections for API and reduce frontend polling 2026-03-02 19:09:06 +01:00
schemas fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
__init__.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
deps.py removed old UI 2026-02-17 15:21:08 +01:00
errors.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
media.py Initial release prep 2026-02-27 10:46:05 +01:00
responses.py First product 2026-02-17 14:51:25 +01:00
router.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
runtime_deps.py Initial release prep 2026-02-27 10:46:05 +01:00