aboutsummaryrefslogtreecommitdiff
path: root/ecosystem.config.js
diff options
context:
space:
mode:
authorTom Harley2018-03-07 00:09:34 +0000
committerTom Harley2018-03-07 00:09:34 +0000
commitdf0ce932f9e20bde8b39cc81e24057f647c249ba (patch)
tree3b87b0dc5eac716c9f3778a53303e509c8e4a2e4 /ecosystem.config.js
parentBegin support for process manager (PM2) (diff)
downloadmedicine-df0ce932f9e20bde8b39cc81e24057f647c249ba.tar.gz
medicine-df0ce932f9e20bde8b39cc81e24057f647c249ba.zip

Tune PM2 configuration, and add pmx for profiling

Diffstat (limited to 'ecosystem.config.js')
-rw-r--r--ecosystem.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js
index c33f4e1..937cd36 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -9,7 +9,7 @@ module.exports = {
script: 'src/index.ts',
// cwd: '.',
args: '',
- instances: -1,
+ instances: 3,
watch: false,
ignore_watch: '',
max_memory_restart: '1G',