aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-08 14:25:18 +0300
committerGravatar Vitaly Takmazov2019-08-08 14:25:18 +0300
commit0597fae5542de52a30dc60679a7f66ccea76ad51 (patch)
treea67ab89605921ba41adfc198c59eb0d5b0c25699 /src/main/java
parentd18c76dd2ec83a757ccb4073a49cc1512c9c5bcb (diff)
Cache autoconfiguration
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/server/configuration/WwwAppConfiguration.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java b/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
index 66f1d8ce..da2e305d 100644
--- a/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
+++ b/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
@@ -61,10 +61,6 @@ public class WwwAppConfiguration implements WebMvcConfigurer {
private TagService tagService;
@Value("${img_path:#{systemEnvironment['TEMP'] ?: '/tmp'}}")
private String imgDir;
- @Bean
- public CacheManager cacheManager() {
- return new CaffeineCacheManager("help", "users_by_name", "discussions", "messages", "replies", "popular_tags");
- }
@Bean
public HelpService helpService() {