|
@@ -16,6 +16,8 @@
|
|
|
{
|
|
|
"name": "0_RECEIVE_FACTORY",
|
|
|
"script": "./0_RECEIVE_FACTORY/RECEIVE_FACTORY.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -28,6 +30,8 @@
|
|
|
{
|
|
|
"name": "1_FILTER_FACTORY",
|
|
|
"script": "./1_FILTER_FACTORY/FILTER_FACTORY.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -40,6 +44,8 @@
|
|
|
{
|
|
|
"name": "2_PRODUCT_FACTORY",
|
|
|
"script": "./2_PRODUCT_FACTORY/PRODUCT_FACTORY.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -52,6 +58,8 @@
|
|
|
{
|
|
|
"name": "DZ_FACTORY",
|
|
|
"script": "./2_PRODUCT_FACTORY/dz_batch_factory.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -64,6 +72,8 @@
|
|
|
{
|
|
|
"name": "FQ_FACTORY",
|
|
|
"script": "./2_PRODUCT_FACTORY/fq_factory.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -76,6 +86,8 @@
|
|
|
{
|
|
|
"name": "HY_FACTORY",
|
|
|
"script": "./2_PRODUCT_FACTORY/hy_batch_factory.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -87,7 +99,9 @@
|
|
|
},
|
|
|
{
|
|
|
"name": "QM_FACTORY",
|
|
|
- "script": "./2_PRODUCT_FACTORY/qm_factory.js",
|
|
|
+ "script": "./2_PRODUCT_FACTORY/qm_batch_factory.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -100,6 +114,8 @@
|
|
|
{
|
|
|
"name": "5_CREATE_LINK_FACTORY",
|
|
|
"script": "./5_CREATE_LINK_FACTORY/CREATE_LINK_FACTORY.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -112,6 +128,8 @@
|
|
|
{
|
|
|
"name": "7_CHECK_AND_CREATE_URL_FACTORY",
|
|
|
"script": "./7_CHECK_AND_CREATE_URL_FACTORY/CHECK_AND_CREATE_URL_FACTORY.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -124,6 +142,8 @@
|
|
|
{
|
|
|
"name": "MESSAGE_DISPATCH_FACTORY",
|
|
|
"script": "./MESSAGE_DISPATCH/MESSAGE_DISPATCH.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -136,6 +156,8 @@
|
|
|
{
|
|
|
"name": "MAIN_SERVE_FACTORY_FACTORY",
|
|
|
"script": "./MAIN_SERVE_FACTORY/MAIN_SERVE_FACTORY.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|
|
@@ -148,6 +170,8 @@
|
|
|
{
|
|
|
"name": "PULL_DATA_FACTORY",
|
|
|
"script": "./PULL_DATA_FACTORY/PULL_DATA.js",
|
|
|
+ "node_args": "--max-old-space-size=8192 --expose-gc",
|
|
|
+ "max_memory_restart": "4G",
|
|
|
"args": ["--type=data"],
|
|
|
"cwd": "/home/tg_factory",
|
|
|
"log_date_format": "YYYY-MM-DD HH:mm:ss",
|