机器人启动脚本增加max-memory-restart

This commit is contained in:
zhl 2021-07-06 12:03:53 +08:00
parent 2e018c887e
commit bab2553546

View File

@ -43,6 +43,7 @@ module.exports = {
out_file : '/data/logs/card_svr/out/robot_info.log', // out日志路径
log_date_format: "YYYY-MM-DD HH:mm:ss",
cwd : '/data/apps/card_svr',
max_memory_restart: '400M',
env: {
PORT: 2500,
DEBUG: "colyseus:errors,jc:*",