mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
enable cluster mode for main_api
This commit is contained in:
parent
4ff0546b5b
commit
6aaa5b2cd4
@ -3,8 +3,8 @@ module.exports = {
|
||||
{
|
||||
name: "main_api",
|
||||
script: "./dist/index.js",
|
||||
// instances: "max",
|
||||
// exec_mode: "cluster",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
"NODE_ENV": "production",
|
||||
"MAIN_LISTEN_PORT": 5000,
|
||||
@ -64,7 +64,7 @@ module.exports = {
|
||||
{
|
||||
name: "sync_api",
|
||||
script: "./dist/index.js",
|
||||
env:{
|
||||
env: {
|
||||
"NODE_ENV": "production",
|
||||
"HTTP_LISTEN_PORT": 5005,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user