현재 사용하지 않는 API 제거, 캐시 전략 변경을 위해 @Cacheable 제거

This commit is contained in:
2023-10-26 18:42:22 +09:00
parent 5b85c2e8a4
commit 3ec16b5045
6 changed files with 0 additions and 282 deletions

View File

@@ -9,7 +9,6 @@ import kr.co.vividnext.sodalive.member.MemberRole
import kr.co.vividnext.sodalive.member.QMember.member
import kr.co.vividnext.sodalive.member.following.QCreatorFollowing.creatorFollowing
import org.springframework.beans.factory.annotation.Value
import org.springframework.cache.annotation.Cacheable
import org.springframework.stereotype.Repository
import java.time.LocalDateTime
@@ -20,10 +19,6 @@ class LiveRecommendRepository(
@Value("\${cloud.aws.cloud-front.host}")
private val cloudFrontHost: String
) {
@Cacheable(
value = ["getRecommendLive"],
cacheManager = "cacheManager"
)
fun getRecommendLive(
memberId: Long,
isBlocked: (Long) -> Boolean,