fix(core,admin-template): GC 스케줄 허용목록 동기 + 스토리지 잔존물 GC 신설 + 스케줄 모달 저장 회귀 수정
공개 후속 전수 조사의 실작업: - attachments:prune-orphans 관리자 예약 허용목록 등재 + 가드 테스트 도출 규칙을 런타임 validator 와 일치 (옵션 포함 키는 영원히 매칭되지 않는 죽은 항목) - layout-previews:cleanup 을 gc-schedules 가드 구간으로 편입 (+onOneServer) - storage:prune-leftovers 신설: 중단된 업데이트/설치의 _pending 스테이징·코어 임시· vendor 스테이징(3일)과 오래된 백업(30일, 최신 1개 상시 보존), 레거시 browser.log 회수 — 산출물 누적 + 회수 경로 부재( 동형) 7건 해소 - 언어팩 설치 임시 디렉토리 정리를 finally 로 이동 (설치 성공 시 100% 누수) - 브라우저 콘솔 로그를 daily(7일) 로테이션으로 전환 (단일 파일 989MB 실측) - 검수 중 발견한 스케줄 등록/수정 모달 저장 불능 수정 (Form id 부재 + 커스텀 Select/Toggle 값 미전송) + 동형 재발 차단 audit 룰 2종 신설
This commit is contained in:
1 parent
db49e8b9b8
commit
febffb173e
21 files changed
+1185
-29
No files matched your search
+6
-4
@@ -29,11 +29,8 @@ Schedule::command('dashboard:broadcast-resources')
|
||||
->withoutOverlapping(5)
|
||||
->runInBackground();
|
||||
|
||||
// 만료된 레이아웃 미리보기 정리 (30분마다)
|
||||
Schedule::command('layout-previews:cleanup')->everyThirtyMinutes();
|
||||
|
||||
/*
|
||||
| 만료 데이터 정리 (일 1회 새벽 배치, 다중 서버 1대만)
|
||||
| 만료 데이터 정리 예약 (주기는 항목별, 다중 서버 1대만)
|
||||
|
|
||||
| 시각 해석 기준은 사이트 설정 시간대(`general.timezone`)다 —
|
||||
| SettingsServiceProvider 가 `app.schedule_timezone` 을 세팅하고,
|
||||
@@ -46,6 +43,9 @@ Schedule::command('layout-previews:cleanup')->everyThirtyMinutes();
|
||||
| 읽어 대상 목록을 도출하므로, 정리 예약을 추가할 때는 반드시 이 안에 둔다.
|
||||
*/
|
||||
// gc-schedules:begin
|
||||
// 만료된 레이아웃 미리보기 정리 (30분마다)
|
||||
Schedule::command('layout-previews:cleanup')->everyThirtyMinutes()->onOneServer();
|
||||
|
||||
Schedule::command('sanctum:prune-expired', ['--hours' => 24])->dailyAt('04:00')->onOneServer();
|
||||
Schedule::command('auth:clear-resets')->dailyAt('04:05')->onOneServer();
|
||||
Schedule::command('queue:prune-failed')->dailyAt('04:10')->onOneServer();
|
||||
@@ -59,6 +59,8 @@ Schedule::command('activity-log:prune')->dailyAt('04:45')->onOneServer();
|
||||
Schedule::command('notification-log:prune')->dailyAt('04:50')->onOneServer();
|
||||
// 사용자 파일을 파기하므로 기본 꺼짐 — 커맨드가 `--scheduled` 에서 설정을 false 폴백으로 재확인한다.
|
||||
Schedule::command('attachments:prune-orphans --scheduled')->dailyAt('04:55')->onOneServer();
|
||||
// 중단된 업데이트·설치가 남긴 임시 산출물 + 오래된 백업본(최신 1개 보존) 정리
|
||||
Schedule::command('storage:prune-leftovers')->dailyAt('05:00')->onOneServer();
|
||||
|
||||
// 만료 시각이 지난 본인인증 challenge 상태 전환 (비파괴 — 물리 파기는 identity:prune-logs)
|
||||
Schedule::command('identity:expire-challenges')->hourly()->onOneServer();
|
||||
|
||||
Reference in new issue
Block a user