-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Using version 0.13.0
; At the moment, the default cache customizer does the following:
@Override
public void customize(javax.cache.CacheManager cacheManager) {
createMissingCache(cacheManager, "initializr.metadata",
() -> config().setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(Duration.TEN_MINUTES)));
createMissingCache(cacheManager, "initializr.dependency-metadata", this::config);
createMissingCache(cacheManager, "initializr.project-resources", this::config);
createMissingCache(cacheManager, "initializr.templates", this::config);
}
- Could the expiration policy, that is
Duration.TEN_MINUTES
, be configurable via application properties? (I am not sure if it's possible to customize this after the fact) - Could this be documented? Was not able to find it here.
I am happy to help and submit a PR if you find this to be reasonable.