From 0597fae5542de52a30dc60679a7f66ccea76ad51 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Aug 2019 14:25:18 +0300 Subject: Cache autoconfiguration --- src/main/java/com/juick/server/configuration/WwwAppConfiguration.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main/java') 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() { -- cgit v1.2.3