Skip to content

Commit 8c08bd2

Browse files
authored
Merge pull request #288 from DevKor-github/develop
Update application.yml
2 parents 1471786 + 2cef843 commit 8c08bd2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/main/resources/application.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ spring:
3838
host: ${REDIS_HOST}
3939
port: 6379
4040
password: ${REDIS_PASSWORD}
41+
lettuce:
42+
pool:
43+
# 핵심: true로 되어 있다면 false로 변경 (매 요청마다 PING 방지)
44+
test-on-borrow: false
45+
# 대신 연결이 유효한지 백그라운드에서 가끔 확인
46+
test-while-idle: true
47+
# 유효성 검사 주기 (예: 30초)
48+
time-between-eviction-runs: 30s
4149

4250
mail:
4351
host: smtp.gmail.com

0 commit comments

Comments
 (0)