presenton/electron/servers/fastapi/services
voidborne-d f8156df6f5 fix: configure SQLAlchemy connection pool and dispose engines on shutdown
- Add configurable pool settings via environment variables:
  DB_POOL_SIZE, DB_MAX_OVERFLOW, DB_POOL_TIMEOUT, DB_POOL_RECYCLE,
  DB_POOL_PRE_PING (defaults: 5, 10, 30s, 1800s, true)
- Enable pool_pre_ping by default to detect and recycle stale connections
- Add dispose_engines() called during FastAPI lifespan shutdown to
  release all connections back to the database
- Skip pool configuration for SQLite (uses file-lock, not connection pools)
- Apply changes to both servers/ and electron/ FastAPI instances

Fixes #453 (stale connections exhausting pool)
Fixes #454 (missing pool configuration)
2026-03-20 06:08:54 +00:00
..
__init__.py updated 2026-02-20 12:02:23 +05:45
concurrent_service.py updated 2026-02-20 12:02:23 +05:45
database.py fix: configure SQLAlchemy connection pool and dispose engines on shutdown 2026-03-20 06:08:54 +00:00
docling_service.py updated 2026-02-20 12:02:23 +05:45
documents_loader.py updated 2026-02-20 12:02:23 +05:45
html_to_text_runs_service.py updated 2026-02-20 12:02:23 +05:45
icon_finder_service.py feat: implement unified setup installer for LibreOffice and Chromium dependencies 2026-03-11 20:31:34 +05:45
image_generation_service.py updated 2026-02-20 12:02:23 +05:45
lightweight_document_service.py updated 2026-02-20 12:02:23 +05:45
llm_client.py feat: update version to 0.6.1-beta and ensure array schemas have items in JSON responses 2026-03-02 17:11:25 +05:45
llm_tool_calls_handler.py updated 2026-02-20 12:02:23 +05:45
pptx_presentation_creator.py feat: implement image path resolution utility to streamline image handling in FastAPI endpoints and PPTX presentation creator 2026-03-08 20:55:20 +05:45
score_based_chunker.py updated 2026-02-20 12:02:23 +05:45
temp_file_service.py updated 2026-02-20 12:02:23 +05:45
webhook_service.py updated 2026-02-20 12:02:23 +05:45