diff --git a/backend/src/index.ts b/backend/src/index.ts index bcfa03534..916f47e12 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -81,7 +81,7 @@ class Server { await checkDbConnection(); } - if (config.STATISTICS.ENABLED && config.DATABASE.ENABLED) { + if (config.STATISTICS.ENABLED && config.DATABASE.ENABLED && cluster.isMaster) { statistics.startStatistics(); }