Bot auto-recovers if the database connection pool stalls
Bugfix
Reliability
Discord
Fixed a rare outage where the bot looked Online/UP but Player Alerts stopped: the database connection pool filled up and the process never exited, so Docker did not restart it.
Health checks now verify both the database and the Discord connection. If either stays unhealthy, the service restarts automatically within a couple of minutes.
A pool watchdog exits the process when connections stay exhausted, and connection leak detection is enabled so stuck holds show up in logs before a full outage.
If alerts go quiet again, wait a few minutes for auto-recovery before kicking/re-adding the bot.