fix(recommendation): New & Hot 스냅샷 저장 수를 확장한다
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user