diff --git a/src/main/kotlin/team/sfe/server/global/redis/RedisConfig.kt b/src/main/kotlin/team/sfe/server/global/redis/RedisConfig.kt index 400aa57..41fa58c 100644 --- a/src/main/kotlin/team/sfe/server/global/redis/RedisConfig.kt +++ b/src/main/kotlin/team/sfe/server/global/redis/RedisConfig.kt @@ -6,9 +6,10 @@ import org.springframework.data.redis.connection.RedisConnectionFactory import org.springframework.data.redis.connection.RedisPassword import org.springframework.data.redis.connection.RedisStandaloneConfiguration import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory +import org.springframework.data.redis.core.RedisKeyValueAdapter import org.springframework.data.redis.repository.configuration.EnableRedisRepositories -@EnableRedisRepositories // (enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP) +@EnableRedisRepositories(enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP) @Configuration class RedisConfig( private val redisProperties: RedisProperties