mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 08:06:24 +00:00
Redis timeout 설정 타입 미스매치 오류 수정
- Redis timeout 값을 문자열('2000ms')에서 숫자(2000)로 변경
- lettuce pool max-wait 값도 동일하게 수정
- 영향 서비스: bill-service, product-service, user-service
- TypeMismatchException 해결로 런타임 오류 수정
This commit is contained in:
parent
11dd091671
commit
88765ef6e6
@ -41,13 +41,13 @@ spring:
|
||||
host: ${REDIS_HOST:localhost}
|
||||
port: ${REDIS_PORT:6379}
|
||||
password: ${REDIS_PASSWORD:}
|
||||
timeout: 2000ms
|
||||
timeout: 2000
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 8
|
||||
max-idle: 8
|
||||
min-idle: 0
|
||||
max-wait: -1ms
|
||||
max-wait: -1
|
||||
database: ${REDIS_DATABASE:2}
|
||||
|
||||
# Cache 개발 설정 (TTL 단축)
|
||||
|
||||
@ -37,13 +37,13 @@ spring:
|
||||
host: ${REDIS_HOST:localhost}
|
||||
port: ${REDIS_PORT:6379}
|
||||
password: ${REDIS_PASSWORD:}
|
||||
timeout: 2000ms
|
||||
timeout: 2000
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 8
|
||||
max-idle: 8
|
||||
min-idle: 0
|
||||
max-wait: -1ms
|
||||
max-wait: -1
|
||||
database: ${REDIS_DATABASE:2}
|
||||
|
||||
# Cache 개발 설정 (TTL 단축)
|
||||
|
||||
@ -39,13 +39,13 @@ spring:
|
||||
host: ${REDIS_HOST:localhost}
|
||||
port: ${REDIS_PORT:6379}
|
||||
password: ${REDIS_PASSWORD:}
|
||||
timeout: 2000ms
|
||||
timeout: 2000
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 8
|
||||
max-idle: 8
|
||||
min-idle: 0
|
||||
max-wait: -1ms
|
||||
max-wait: -1
|
||||
database: ${REDIS_DATABASE:0}
|
||||
|
||||
# Jackson 설정
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user