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
Owner

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.

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.
florian added 1 commit 2025-10-12 11:55:01 +02:00
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.
florian merged commit 14f974f4ed into main 2025-10-12 11:55:07 +02:00
florian deleted branch feature/improved-db-handling 2025-10-12 11:55:08 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: notifier/service-royalroad-chapters#2
No description provided.