feat(stats): persist user and global track counts in mysql tables

This commit is contained in:
NoLogicAlan committed 2026-10-24 01:55:21 +03:00
1 parent 70f124294d
commit a780ec22c8
6 files changed
+170 -12

No files matched your search

+2
View File
@@ -141,6 +141,8 @@ class Remix {
const sharedPool = getSharedMysqlPool(config.mysql);
const sharedPromisePool = getSharedPromisePool(config.mysql);
TrackStats.setPool(sharedPromisePool);
this.dashboard = new Dashboard(this, {
enabled: config.dashboard?.enabled,
redis: config.dashboard?.redis,