Skip to content

Commit

Permalink
feat: redis timeToLive 시간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GGHDMS committed Dec 20, 2023
1 parent 8e70fb4 commit 3bdcc71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.yourssu.ssudateserver.redis
import org.springframework.data.redis.core.RedisHash
import javax.persistence.Id

@RedisHash(value = "blackToken", timeToLive = 1800000)
@RedisHash(value = "blackToken", timeToLive = 1800)
data class BlackToken(
@Id
val id: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.yourssu.ssudateserver.redis
import org.springframework.data.redis.core.RedisHash
import javax.persistence.Id

@RedisHash(value = "oauthCache", timeToLive = 3600000)
@RedisHash(value = "oauthCache", timeToLive = 3600)
data class OauthCache(
@Id
val id: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.yourssu.ssudateserver.redis
import org.springframework.data.redis.core.RedisHash
import javax.persistence.Id

@RedisHash(value = "jwtToken", timeToLive = 604800000)
@RedisHash(value = "jwtToken", timeToLive = 604800)
data class RefreshToken(
@Id
val id: String,
Expand Down

0 comments on commit 3bdcc71

Please sign in to comment.