From 34f549ddcaf6484ce1266dc290d5e953ead80e65 Mon Sep 17 00:00:00 2001 From: tkuzynow Date: Tue, 9 Apr 2024 13:15:12 +0200 Subject: [PATCH] fix: cache variable name --- .../userservice/api/config/CacheManagerConfig.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/de/caritas/cob/userservice/api/config/CacheManagerConfig.java b/src/main/java/de/caritas/cob/userservice/api/config/CacheManagerConfig.java index 0ec29cfc9..ead53328d 100644 --- a/src/main/java/de/caritas/cob/userservice/api/config/CacheManagerConfig.java +++ b/src/main/java/de/caritas/cob/userservice/api/config/CacheManagerConfig.java @@ -174,12 +174,12 @@ private CacheConfiguration buildApplicationSettingsCacheConfiguration() { } private CacheConfiguration buildRocketchatUserCacheConfiguration() { - var appSettingsCacheConfiguration = new CacheConfiguration(); - appSettingsCacheConfiguration.setName(ROCKET_CHAT_USER_CACHE); - appSettingsCacheConfiguration.setMaxEntriesLocalHeap(rocketchatCacheMaxEntriesLocalHeap); - appSettingsCacheConfiguration.setEternal(rocketchatCacheEternal); - appSettingsCacheConfiguration.setTimeToIdleSeconds(rocketchatCacheTimeToIdleSeconds); - appSettingsCacheConfiguration.setTimeToLiveSeconds(rocketchatCacheTimeToLiveSeconds); - return appSettingsCacheConfiguration; + var rocketchatCacheConfiguration = new CacheConfiguration(); + rocketchatCacheConfiguration.setName(ROCKET_CHAT_USER_CACHE); + rocketchatCacheConfiguration.setMaxEntriesLocalHeap(rocketchatCacheMaxEntriesLocalHeap); + rocketchatCacheConfiguration.setEternal(rocketchatCacheEternal); + rocketchatCacheConfiguration.setTimeToIdleSeconds(rocketchatCacheTimeToIdleSeconds); + rocketchatCacheConfiguration.setTimeToLiveSeconds(rocketchatCacheTimeToLiveSeconds); + return rocketchatCacheConfiguration; } }