presenton/electron
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
..
app Refactor user configuration merging to simplify handling of incoming entries 2026-03-17 19:50:56 +05:45
build feat: implement in-app LibreOffice installer with progress UI and update build configurations for Linux and Windows 2026-03-06 17:41:15 +05:45
resources/ui Refactor export runtime synchronization script 2026-03-18 14:34:08 +05:45
scripts updated 2026-02-20 12:02:23 +05:45
servers fix: configure SQLAlchemy connection pool and dispose engines on shutdown 2026-03-20 06:08:54 +00:00
.gitignore updated 2026-02-20 12:02:23 +05:45
build.js Implement dynamic converter path resolution and binary format detection for export functionality 2026-03-16 14:54:19 +05:45
generate_update.js feat: enhance update notification system with detailed changelog and message support 2026-03-08 20:19:32 +05:45
package-lock.json Bumped the Version to 0.6.2 2026-03-15 15:51:50 +05:45
package.json Update exportVersion to v0.1.1 in package.json 2026-03-20 11:45:04 +05:45
sync_export_runtime.js Refactor export runtime synchronization script 2026-03-18 14:34:08 +05:45
tsconfig.json updated 2026-02-20 12:02:23 +05:45
version.json Bump version to 0.6.2-beta and update release notes 2026-03-18 20:33:16 +05:45