aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
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/resources
parentd18c76dd2ec83a757ccb4073a49cc1512c9c5bcb (diff)
Cache autoconfiguration
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index af0bee6e..99138174 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -2,3 +2,5 @@ spring.jackson.default-property-inclusion=non_default
spring.jackson.serialization.write-dates-as-timestamps=false
spring.h2.console.enabled=true
spring.datasource.platform=h2
+spring.cache.cache-names=help, users_by_name, discussions, messages, replies, popular_tags
+spring.cache.caffeine.spec=maximumSize=500,expireAfterAccess=600s