Migrate pool storage to TimescaleDB and Redis

This commit is contained in:
Ben
2026-06-07 20:33:13 -04:00
parent fb367ac5f0
commit ec69f5fb6c
64 changed files with 4751 additions and 1146 deletions
+4 -2
View File
@@ -7,6 +7,7 @@ module.exports = {
instances: 1,
env: {
MASTER: 'true',
NODE_CLUSTER_SCHED_POLICY: 'none',
},
time: true
},
@@ -14,12 +15,13 @@ module.exports = {
{
name: 'workers',
script: './dist/main.js',
instances: 2,
instances: parseInt(process.env.STRATUM_WORKERS || '2', 10),
exec_mode: "cluster",
env: {
MASTER: 'false',
NODE_CLUSTER_SCHED_POLICY: 'none',
},
time: true
},
],
};
};