mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
- Unify MySQL pools in src/db/PoolManager.mjs shared across Settings, TrackOptions, LastFm, Dashboard, and PlayerStateStore - Support global config.mysql.connectionLimit (default 15), preventing connection starvation - Add gracefulShutdown() in Bot.mjs to flush active player queues and playback positions to MySQL on SIGTERM/SIGINT - Update shard.mjs to forward SIGTERM and await shard worker queue flushes before exit - Add event-loop responsiveness healthcheck in docker-compose.yml and Dockerfile via heartbeat probe - Document connectionLimit and queue persistence in README and config templates
This commit is contained in:
1 parent
665be29a16
commit
90a53f047f
13 files changed
+303
-84
No files matched your search
+3
-1
@@ -97,7 +97,9 @@
|
||||
"port": 3306,
|
||||
"user": "youruser",
|
||||
"password": "password of your user",
|
||||
"database": "name of the target database"
|
||||
"database": "name of the target database",
|
||||
"connectionLimit": 15,
|
||||
"connectionLimit-Comment": "Maximum simultaneous MySQL connections shared across all bot services (default: 15). Prevents connection pool exhaustion in multi-shard deployments."
|
||||
},
|
||||
"dashboard": {
|
||||
"enabled": false,
|
||||
|
||||
Reference in new issue
Block a user