Skip to content

Commit

Permalink
feat(cache) per object ttl for cache items. This adds TTL capibilites…
Browse files Browse the repository at this point in the history
… to our CaffineCache and really deprecates the timed cache provider.

ref:#30670
  • Loading branch information
wezell committed Nov 21, 2024
1 parent f157851 commit 0a332e2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ private List<CacheProvider> getProvidersForRegion ( String group ) {
}

List<CacheProvider> initProviders(List<CacheProvider> cacheProviders) {
cacheProviders.forEach(provider -> {
cacheProviders.forEach(provider ->
Try.run(provider::init).onFailure(
e -> Logger.error(this, "Error initializing CacheProvider [" + provider.getName() + "].", e));
});
e -> Logger.error(this, "Error initializing CacheProvider [" + provider.getName() + "]." + e.getMessage(), e))
);
return cacheProviders;
}

Expand Down

0 comments on commit 0a332e2

Please sign in to comment.