diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 25244e0..8d99238 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -45,8 +45,12 @@ spring.r2dbc.username=${FORMS_DB_USERNAME} spring.r2dbc.password=${FORMS_DB_PASSWORD} #Caffeine Cache -#caffeine.cache.max.size=${CAFFEINE_CACHE_MAX_SIZE:#{1000}} -caffeine.cache.max.size=0 +caffeine.cache.max.size=${CAFFEINE_CACHE_MAX_SIZE:#{1000}} caffeine.cache.exprie.duration.seconds=${CAFFEINE_CACHE_EXPIRE_DURATION:#{300}} +#Active profile - development environment +#Possible values - dev, staging, production +#To disable cache - set it as dev +spring.profiles.active=${DEVELOPMENT_ENV:#{production}} +