Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Introduce caffeine cache
[cps.git]
/
cps-rest
/
src
/
main
/
resources
/
application.yml
diff --git
a/cps-rest/src/main/resources/application.yml
b/cps-rest/src/main/resources/application.yml
index
e8af0bc
..
80c6af6
100644
(file)
--- a/
cps-rest/src/main/resources/application.yml
+++ b/
cps-rest/src/main/resources/application.yml
@@
-22,6
+22,11
@@
spring:
driverClassName: org.postgresql.Driver
\r
initialization-mode: always
\r
\r
+ cache:
\r
+ type: caffeine
\r
+ cache-names: yangSchema
\r
+ caffeine:
\r
+ spec: maximumSize=10000,expireAfterAccess=10m
\r
# Actuator
\r
management:
\r
endpoints:
\r