mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +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",
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user