Merge pull request 'fix: AIS Import Job 스케줄 :15초→:45초 변경 — 빈 응답 방지' (#111) from feature/fix-ais-import-timing into develop
This commit is contained in:
커밋
31ca5b10c3
@ -4,6 +4,9 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### 수정
|
||||
- AIS Import Job 스케줄 :15초→:45초 변경 — API 서버 데이터 적재 타이밍 변경으로 빈 응답(0건) 빈발 대응
|
||||
|
||||
## [2026-03-17.3]
|
||||
|
||||
### 추가
|
||||
|
||||
@ -97,10 +97,10 @@ public class VesselBatchScheduler {
|
||||
}
|
||||
|
||||
/**
|
||||
* S&P AIS API 수집 (매 1분 15초)
|
||||
* 캐시에 최신 위치 저장 → 5분 집계 Job에서 활용
|
||||
* S&P AIS API 수집 (매 1분 45초)
|
||||
* API 서버 데이터 적재 완료 후 안정 구간(:45초~)에 요청
|
||||
*/
|
||||
@Scheduled(cron = "15 * * * * *")
|
||||
@Scheduled(cron = "45 * * * * *")
|
||||
public void runAisTargetImport() {
|
||||
if (!schedulerEnabled || shutdownRequested || aisTargetImportJob == null) {
|
||||
return;
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user