Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change properties spring.cache.enhanced to spring.cache.enhancer #1

Merged
merged 1 commit into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spring:
type: redis
redis:
time-to-live: 10000 # time unit is millis
enhanced:
enhancer:
# enhanced-cache-manager-name: "customEnhancedCacheManager" # name of the cache manager
delay-time: 2000 # means deleting cache eviction again after 2s, default is 5s
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
public class EnhancedCacheAutoConfiguration implements BeanPostProcessor, ApplicationContextAware {

private ApplicationContext applicationContext;

private EnhancedCacheProperties enhancedCacheProperties;

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "spring.cache.enhanced")
@ConfigurationProperties(prefix = "spring.cache.enhancer")
public class EnhancedCacheProperties {

private String enhancedCacheManagerName = EnhancedCacheManager.ENHANCED_CACHE_MANAGER;
Expand Down