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
5c0a611cac
commit
808ae2d8ff
@ -3,8 +3,8 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
name: "main_api",
|
name: "main_api",
|
||||||
script: "./dist/index.js",
|
script: "./dist/index.js",
|
||||||
// instances: "max",
|
instances: "max",
|
||||||
// exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
env: {
|
env: {
|
||||||
"NODE_ENV": "production",
|
"NODE_ENV": "production",
|
||||||
"MAIN_LISTEN_PORT": 5000,
|
"MAIN_LISTEN_PORT": 5000,
|
||||||
@ -64,7 +64,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
name: "sync_api",
|
name: "sync_api",
|
||||||
script: "./dist/index.js",
|
script: "./dist/index.js",
|
||||||
env:{
|
env: {
|
||||||
"NODE_ENV": "production",
|
"NODE_ENV": "production",
|
||||||
"HTTP_LISTEN_PORT": 5005,
|
"HTTP_LISTEN_PORT": 5005,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user