1.切换成所有用户都可以访问交叉评查。
2.pm2运行文件自动重启缓存改成4g。
This commit is contained in:
@@ -5,4 +5,4 @@ JWT_SECRET=gdyc-super-secrets-jjwtt-key-change-this-in-production-20250721-from-
|
||||
# 交叉评查专属模式
|
||||
# 设置为 true 时,端口51707只显示交叉评查入口,隐藏其他模块(上线模式)
|
||||
# 设置为 false 时,保持正常模式显示所有模块(测试/开发模式)
|
||||
CROSS_CHECKING_ONLY_MODE=true
|
||||
CROSS_CHECKING_ONLY_MODE=false
|
||||
@@ -15,7 +15,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '4G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51703,
|
||||
@@ -45,7 +45,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51704,
|
||||
@@ -74,7 +74,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51705,
|
||||
@@ -103,7 +103,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51706,
|
||||
@@ -132,7 +132,7 @@ module.exports = {
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
max_memory_restart: '2G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 51707,
|
||||
@@ -164,7 +164,7 @@ module.exports = {
|
||||
// instances: 1,
|
||||
// autorestart: true,
|
||||
// watch: false,
|
||||
// max_memory_restart: '1G',
|
||||
// max_memory_restart: '2G',
|
||||
// env: {
|
||||
// NODE_ENV: 'production',
|
||||
// PORT: 51708,
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
],
|
||||
"compilerOptions": {
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2022"],
|
||||
"types": ["@remix-run/node", "vite/client"],
|
||||
"types": ["@remix-run/node", "vite/client", "@types/react", "@types/react-dom"],
|
||||
"isolatedModules": true,
|
||||
"esModuleInterop": true,
|
||||
"jsx": "react-jsx",
|
||||
|
||||
Reference in New Issue
Block a user