Split maintenance duties from notifier

This commit is contained in:
Ben
2026-07-13 22:58:54 -04:00
parent 448f7d4c52
commit 0b030fecca
6 changed files with 96 additions and 71 deletions
+14
View File
@@ -60,6 +60,20 @@ module.exports = {
},
time: true,
},
// Non-hot-path master duties: notifications, reporting, and cleanup.
{
...dockerLogConfig,
name: 'maintenance',
script: './dist/maintenance-main.js',
instances: 1,
exec_mode: 'fork',
env: {
MASTER: 'true',
API_ENABLED: 'false',
NODE_CLUSTER_SCHED_POLICY: 'none',
},
time: true,
},
// Worker instances
{
...dockerLogConfig,