1 parent 4c4e7e1 commit 3d3a5c3Copy full SHA for 3d3a5c3
1 file changed
ecosystem.config.js
@@ -3,14 +3,13 @@ module.exports = {
3
{
4
name: "project-canis",
5
script: "dist/index.js",
6
- instances: 3,
7
- exec_mode: "cluster",
8
- sticky: true,
9
- node_args: "--max-old-space-size=1024",
+ instances: 1,
+ exec_mode: "fork",
+ node_args: "--max-old-space-size=2048",
10
env: {
11
NODE_ENV: "production",
12
},
13
- max_memory_restart: "512M",
+ max_memory_restart: "2560M",
14
watch: false,
15
autorestart: true,
16
0 commit comments