Skip to content

Commit

Permalink
fix: 세션 유지 시간 24시간으로 연장
Browse files Browse the repository at this point in the history
  • Loading branch information
yangdongsuk committed Aug 17, 2024
1 parent 0c82d6b commit 5c802cc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ spring.data.redis.port=${REDIS_PORT}
## Spring Session ??
spring.session.redis.repository-type=default
spring.session.redis.flush-mode=on_save
spring.session.timeout=1440
spring.session.timeout=86400
server.servlet.session.timeout=86400
4 changes: 2 additions & 2 deletions src/main/resources/application-local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ spring.data.redis.port=6379
## Spring Session ??
spring.session.redis.repository-type=default
spring.session.redis.flush-mode=on_save
spring.session.timeout=1440

spring.session.timeout=86400
server.servlet.session.timeout=86400
# Network Debugging
#logging.level.org.apache.http=DEBUG
#logging.level.org.apache.http.wire=DEBUG
7 changes: 6 additions & 1 deletion src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,9 @@ spring.data.redis.port=${REDIS_PORT}
## Spring Session ??
spring.session.redis.repository-type=default
spring.session.redis.flush-mode=on_save
spring.session.timeout=1440
spring.session.timeout=86400
server.servlet.session.timeout=86400




0 comments on commit 5c802cc

Please sign in to comment.