scholarr/app/services/publications
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 Initial release prep 2026-02-27 10:46:05 +01:00
application.py refactor: decompose scholars service and pdf_queue into focused modules 2026-02-27 14:39:12 +01:00
counts.py Initial release prep 2026-02-27 10:46:05 +01:00
dedup.py Initial release prep 2026-02-27 10:46:05 +01:00
enrichment.py Initial release prep 2026-02-27 10:46:05 +01:00
listing.py Initial release prep 2026-02-27 10:46:05 +01:00
modes.py ci: add CodeQL security scanning and Dependabot 2026-02-27 00:05:17 +01:00
pdf_queue.py refactor: fix naming, remove duplicate code from decomposition 2026-02-27 16:07:24 +01:00
pdf_queue_common.py Bugfixeds 2026-03-01 22:54:23 +01:00
pdf_queue_queries.py after audit 2026-03-01 18:14:22 +01:00
pdf_queue_resolution.py fix(db,frontend): reserve DB connections for API and reduce frontend polling 2026-03-02 19:09:06 +01:00
pdf_resolution_pipeline.py Initial release prep 2026-02-27 10:46:05 +01:00
queries.py after audit 2026-03-01 18:14:22 +01:00
read_state.py fix: resolve all mypy type errors across service modules 2026-02-27 15:49:27 +01:00
types.py Initial release prep 2026-02-27 10:46:05 +01:00