Improved database connection and logging: #2

Merged
florian merged 1 commits from feature/improved-db-handling into main 2025-10-12 11:55:07 +02:00

1 Commits

Author SHA1 Message Date
7b0ba7de10 Improved database connection and logging:
Robust ping/reconnect: get_db() now retries ping multiple times and safely recreates the pool once per request.
Healthcheck thread: background daemon periodically pings connections and recreates the pool if needed.
Logging improvements: early pool creation and healthcheck logs appear via proper logger setup.
2025-10-12 11:50:13 +02:00