From 66049529fe7df5fe49985828c42e0fbc0a349c91 Mon Sep 17 00:00:00 2001 From: zhou-yinyuan <147299494+zhou-yinyuan@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:21:09 +0800 Subject: [PATCH] release new version 1.3.1 (#1622) --- backend/src/main/java/heartbeat/config/CacheConfig.java | 4 ++-- backend/src/main/resources/application.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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}