Skip to content

Commit e541fc6

Browse files
authored
Merge pull request #306 from FC-InnerCircle-ICD2/feature/trend-take-6
[Feat] 트렌드 검색어 상위 6개로 수정
2 parents 6e42b3b + a18df8e commit e541fc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/store-redis/src/main/kotlin/org/fastcampus/store/redis/repository/StoreRedisRepositoryImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class StoreRedisRepositoryImpl(
7575
return keywords.associateWith { getRecentSearchCount(it.removePrefix("search:")) }
7676
.filterValues { it > 0 }
7777
.entries.sortedByDescending { it.value }
78-
.take(10)
78+
.take(6)
7979
.associate { it.key.removePrefix("search:") to it.value }
8080
}
8181

0 commit comments

Comments
 (0)