Skip to content

Commit

Permalink
[#235] fix(Token): 초 단위에 맞게 TTL 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Oct 7, 2024
1 parent 6b28378 commit 7eab9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/beat/global/auth/redis/Token.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.springframework.data.redis.core.RedisHash;
import org.springframework.data.redis.core.index.Indexed;

@RedisHash(value = "refreshToken", timeToLive = 60 * 60 * 24 * 1000L * 14)
@RedisHash(value = "refreshToken", timeToLive = 1209600)
@Getter
@Builder
public class Token {
Expand Down

0 comments on commit 7eab9f6

Please sign in to comment.