fix(core,admin_basic,board,ecommerce,page,gdpr,verification): 설정 미러·자동 정리·탈퇴 원자성·일괄 선택 범위 정비
공개이슈 ··· 및 그 전수 해소분. - 설정 저장·복원·초기화가 상주 프로세스 미러를 갱신하도록 단일 소유자화 - 만료 데이터 자동 정리 예약 12종 신설, 파기는 기본키 배치로 분할 - 회원 탈퇴를 전 경로 원자화하고 관리자 상태변경 경로를 정식 탈퇴로 통일 - 일괄 처리 목록의 선택을 화면에 보이는 행으로 한정(selectionScope) - 비밀번호 정책 문구를 도메인 중립 라벨로 정정 - 정적 검사 2종·검증 스킬 설계 정합성 축 신설
This commit is contained in:
1 parent
49c155509e
commit
4e1ec6e001
136 files changed
+7016
-504
No files matched your search
@@ -32,6 +32,36 @@ Schedule::command('dashboard:broadcast-resources')
|
||||
// 만료된 레이아웃 미리보기 정리 (30분마다)
|
||||
Schedule::command('layout-previews:cleanup')->everyThirtyMinutes();
|
||||
|
||||
/*
|
||||
| 만료 데이터 정리 (일 1회 새벽 배치, 다중 서버 1대만)
|
||||
|
|
||||
| 시각 해석 기준은 사이트 설정 시간대(`general.timezone`)다 —
|
||||
| SettingsServiceProvider 가 `app.schedule_timezone` 을 세팅하고,
|
||||
| Laravel 이 그 값을 Schedule 인스턴스 전체에 일괄 적용한다.
|
||||
| 서머타임이 있는 시간대에서는 전환일에 특정 시각이 건너뛰거나 두 번 발생할 수 있으나,
|
||||
| 아래 정리 배치는 모두 멱등이라 이중 실행이 데이터를 해치지 않고
|
||||
| 건너뛴 날은 다음 날 배치가 흡수한다.
|
||||
|
|
||||
| 아래 begin/end 표식 사이가 정리 예약의 전부다. 등록 전수 회귀 테스트가 이 구간을
|
||||
| 읽어 대상 목록을 도출하므로, 정리 예약을 추가할 때는 반드시 이 안에 둔다.
|
||||
*/
|
||||
// gc-schedules:begin
|
||||
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();
|
||||
Schedule::command('queue:prune-batches')->dailyAt('04:15')->onOneServer();
|
||||
Schedule::command('notification:cleanup')->dailyAt('04:20')->onOneServer();
|
||||
Schedule::command('ext-bundles:cleanup')->dailyAt('04:25')->onOneServer();
|
||||
Schedule::command('seo:prune-stats')->dailyAt('04:30')->onOneServer();
|
||||
Schedule::command('schedules:prune-history')->dailyAt('04:35')->onOneServer();
|
||||
Schedule::command('identity:prune-logs')->dailyAt('04:40')->onOneServer();
|
||||
Schedule::command('activity-log:prune')->dailyAt('04:45')->onOneServer();
|
||||
Schedule::command('notification-log:prune')->dailyAt('04:50')->onOneServer();
|
||||
|
||||
// 만료 시각이 지난 본인인증 challenge 상태 전환 (비파괴 — 물리 파기는 identity:prune-logs)
|
||||
Schedule::command('identity:expire-challenges')->hourly()->onOneServer();
|
||||
// gc-schedules:end
|
||||
|
||||
// 언어팩 업데이트 확인 (주 1회, GitHub 기반 언어팩 latest_version 갱신)
|
||||
Schedule::command('language-pack:check-updates')
|
||||
->weekly()
|
||||
|
||||
Reference in new issue
Block a user