mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
Use pg pub/sub for stateless app notification
This commit is contained in:
+3
-1
@@ -8,16 +8,18 @@ module.exports = {
|
||||
env: {
|
||||
MASTER: 'true',
|
||||
},
|
||||
time: true
|
||||
},
|
||||
// Worker instances
|
||||
{
|
||||
name: 'workers',
|
||||
script: './dist/main.js',
|
||||
instances: 31,
|
||||
instances: 2,
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
MASTER: 'false',
|
||||
},
|
||||
time: true
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user