chore: Gitea 동기화 주기 매시간→10분 단축

RepoSyncService 의 @Cron 을 EVERY_HOUR→EVERY_10_MINUTES 로 변경.
Gitea 직접 변경(이름/공개범위/브랜치)의 Relay 반영 지연이 최대 1시간→10분으로 단축.
기동 직후 1회 동기화는 유지, 중복 실행 가드도 그대로.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-19 15:58:46 +09:00
parent 8935f6e488
commit 42db9b5d00
3 changed files with 6 additions and 6 deletions
@@ -50,10 +50,10 @@ export class RepoSyncService implements OnApplicationBootstrap {
void this.syncFromGitea('부트스트랩');
}
// 매시간 정각 동기화
@Cron(CronExpression.EVERY_HOUR)
async handleHourlySync(): Promise<void> {
await this.syncFromGitea('스케줄(매시간)');
// 10분마다 동기화
@Cron(CronExpression.EVERY_10_MINUTES)
async handleScheduledSync(): Promise<void> {
await this.syncFromGitea('스케줄(10분)');
}
// 조직 저장소 동기화 본체 — 실패해도 예외를 전파하지 않고 로그만 남긴다.