diff --git a/backend/src/main/java/heartbeat/config/CacheConfig.java b/backend/src/main/java/heartbeat/config/CacheConfig.java index 167c470d0..9128b6218 100644 --- a/backend/src/main/java/heartbeat/config/CacheConfig.java +++ b/backend/src/main/java/heartbeat/config/CacheConfig.java @@ -72,10 +72,10 @@ private javax.cache.configuration.Configuration getCacheConfigurati boolean isSaveLongTime) { ResourcePoolsBuilder offHeap; if (valueType == String.class) { - offHeap = ResourcePoolsBuilder.newResourcePoolsBuilder().offheap(4, MemoryUnit.MB); + offHeap = ResourcePoolsBuilder.newResourcePoolsBuilder().offheap(8, MemoryUnit.MB); } else { - offHeap = ResourcePoolsBuilder.newResourcePoolsBuilder().offheap(2, MemoryUnit.MB); + offHeap = ResourcePoolsBuilder.newResourcePoolsBuilder().offheap(4, MemoryUnit.MB); } Duration timeToLive; if (valueType == HolidaysResponseDTO.class) { diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index ed9d3a03d..d26a01afa 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -34,5 +34,5 @@ springdoc: heartbeat: swagger: host: ${SWAGGER_HOST:http://localhost:4322} - version: 1.3.0 + version: 1.3.1 expiredDays: ${EXPIRED_DAYS:7}