scholarr/app/api/routers
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
..
__init__.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
admin.py Initial release prep 2026-02-27 10:46:05 +01:00
admin_dbops.py Initial release prep 2026-02-27 10:46:05 +01:00
admin_settings.py fix: handle optional cookie field for mypy type check 2026-03-01 23:04:02 +01:00
auth.py Initial release prep 2026-02-27 10:46:05 +01:00
publications.py Initial release prep 2026-02-27 10:46:05 +01:00
run_manual.py Bugfixeds 2026-03-01 22:54:23 +01:00
run_serializers.py refactor: extract helpers from oversized router and scheduler files 2026-02-27 15:41:23 +01:00
runs.py fix(db,frontend): reserve DB connections for API and reduce frontend polling 2026-03-02 19:09:06 +01:00
scholar_helpers.py refactor: extract helpers from oversized router and scheduler files 2026-02-27 15:41:23 +01:00
scholars.py fix: URL-length-aware OpenAlex batching and eager scholar metadata hydration 2026-03-01 23:42:15 +01:00
settings.py Initial release prep 2026-02-27 10:46:05 +01:00