1.切换成所有用户都可以访问交叉评查。
2.pm2运行文件自动重启缓存改成4g。
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '4G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51703,
|
||||
@@ -45,7 +45,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51704,
|
||||
@@ -74,7 +74,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51705,
|
||||
@@ -103,7 +103,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51706,
|
||||
@@ -132,7 +132,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51707,
|
||||
@@ -164,7 +164,7 @@ module.exports = {
|
||||
// instances: 1,
|
||||
// autorestart: true,
|
||||
// watch: false,
|
||||
// max_memory_restart: '1G',
|
||||
// max_memory_restart: '2G',
|
||||
// env: {
|
||||
// NODE_ENV: 'production',
|
||||
// PORT: 51708,
|
||||
|
||||
Reference in New Issue
Block a user