취약 의존성을 갱신하고 PM2 파일 감시를 비활성화한다
This commit is contained in:
@@ -40,12 +40,12 @@
|
||||
"@trpc/server": "^11.8.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"es-toolkit": "^1.43.0",
|
||||
"fastify": "^5.6.2",
|
||||
"fastify": "^5.12.5",
|
||||
"ipaddr.js": "2.5.0",
|
||||
"pm2": "^7.0.3",
|
||||
"redis": "^5.10.0",
|
||||
"sanitize-html": "2.17.6",
|
||||
"sharp": "^0.35.0",
|
||||
"sanitize-html": "2.17.7",
|
||||
"sharp": "^0.35.5",
|
||||
"web-push": "3.6.7",
|
||||
"zod": "^4.3.5"
|
||||
}
|
||||
|
||||
@@ -54,6 +54,8 @@ export const buildPm2StartOptions = (definition: ProcessDefinition) => ({
|
||||
args: definition.args,
|
||||
env: sanitizePm2IdentityEnv(definition.env ?? {}),
|
||||
autorestart: true,
|
||||
// PM2의 chokidar/braces glob parser에 사용자 입력을 전달하는 watch 경로는 사용하지 않는다.
|
||||
watch: false,
|
||||
max_restarts: 5,
|
||||
min_uptime: 10_000,
|
||||
restart_delay: 2_000,
|
||||
|
||||
@@ -26,6 +26,7 @@ describe('buildPm2StartOptions', () => {
|
||||
expect(options).toMatchObject({
|
||||
name: 'sammo:che:2:game-api',
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_restarts: 5,
|
||||
min_uptime: 10_000,
|
||||
restart_delay: 2_000,
|
||||
|
||||
Reference in New Issue
Block a user