Browse Source

Temporarily disable TTL for UrlTemplateResolver

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
a613fcd60a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java

+ 1
- 1
bookstore/src/main/java/com/fjordtek/bookstore/BookstoreApplication.java View File

@ -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;


Loading…
Cancel
Save