From a613fcd60ad549f1484559f0373a881e4c5cdc5b Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 7 Oct 2020 01:48:22 +0300 Subject: [PATCH] Temporarily disable TTL for UrlTemplateResolver Signed-off-by: Pekka Helenius --- .../main/java/com/fjordtek/bookstore/BookstoreApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java b/bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java index 9e533c9..c7ff5a6 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java @@ -62,7 +62,7 @@ public class BookstoreApplication extends SpringBootServletInitializer { urlTemplateResolver.setCacheable(true); // TTL value in milliseconds - urlTemplateResolver.setCacheTTLMs(120000L); +// urlTemplateResolver.setCacheTTLMs(120000L); urlTemplateResolver.getCharacterEncoding(); return urlTemplateResolver;