Skip to content

Commit

Permalink
fix: cache variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuzynow committed Apr 9, 2024
1 parent ac9621f commit 34f549d
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 34f549d

Please sign in to comment.