Skip to content

Commit

Permalink
release new version 1.3.1 (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-yinyuan authored Oct 11, 2024
1 parent 12dfd6d commit 6604952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/src/main/java/heartbeat/config/CacheConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ private <K, V> javax.cache.configuration.Configuration<K, V> 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) {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 6604952

Please sign in to comment.