fix(recommendation): New & Hot 스냅샷 저장 수를 확장한다

This commit is contained in:
2026-06-27 05:49:16 +09:00
parent f99ed002b2
commit 6ab8d65207
2 changed files with 27 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ class AudioRecommendationSnapshotRefreshService(
visibility: AudioRecommendationVisibility
) {
val sectionType = visibility.newAndHotSectionType()
val snapshots = queryPort.findNewAndHotSnapshots(windowStart, snapshotAt, visibility, NEW_AND_HOT_LIMIT)
val snapshots = queryPort.findNewAndHotSnapshots(windowStart, snapshotAt, visibility, NEW_AND_HOT_SNAPSHOT_LIMIT)
snapshotPort.replaceSnapshots(sectionType, snapshotAt, snapshots)
}
@@ -128,7 +128,7 @@ class AudioRecommendationSnapshotRefreshService(
}
companion object {
const val NEW_AND_HOT_LIMIT = 12
const val NEW_AND_HOT_SNAPSHOT_LIMIT = 100
const val MOST_COMMENTED_LIMIT = 5
const val RECOMMENDED_AUDIO_LIMIT = 10
private val KST_ZONE: ZoneId = ZoneId.of("Asia/Seoul")