Skip to content

Commit

Permalink
Chore: (main) RedisConfig 주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed Nov 9, 2023
1 parent 9ee972e commit 922f823
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RefreshToken(
val accountId: String,

@Indexed
var token: String,
var token: String
) {
fun updateToken(token: String) {
this.token = token
Expand Down
3 changes: 1 addition & 2 deletions src/main/kotlin/team/sfe/server/global/redis/RedisConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import org.springframework.boot.context.properties.ConfigurationProperties
data class RedisProperties(
val host: String,
val port: Int,
val password: String,
val password: String
)

0 comments on commit 922f823

Please sign in to comment.