Redisson Config

- 최소 유휴 연결 0, DNS 모니터링 간격 30초로 변경
This commit is contained in:
2024-12-02 20:25:07 +09:00
parent b33945d21c
commit 1ca676ce0b

View File

@@ -36,7 +36,8 @@ class RedisConfig(
.setAddress("rediss://$host:$port")
.setSslEnableEndpointIdentification(true)
.setSslTruststore(null)
.setConnectionMinimumIdleSize(1)
.setDnsMonitoringInterval(30)
.setConnectionMinimumIdleSize(0)
.setConnectionPoolSize(5)
return Redisson.create(config)
}