From 96ddf717bbaafa662f832a59f9f427867599809a Mon Sep 17 00:00:00 2001 From: heromyth Date: Fri, 5 Feb 2021 16:00:50 +0800 Subject: [PATCH] The cache use memory by default. --- config/application.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/application.conf b/config/application.conf index 4c6a58e..8cf440b 100644 --- a/config/application.conf +++ b/config/application.conf @@ -74,9 +74,8 @@ session.prefix = session: session.expire = 3600 # Cache -cache.enabled = false # memory, redis -cache.adapter = redis +cache.adapter = memory cache.prefix = cache: cache.expire = 3600 cache.useSecondLevelCache = false @@ -91,7 +90,6 @@ redis.password = redis.timeout = 0 # Redis pool -redis.pool.enabled = true redis.pool.blockOnExhausted = true redis.pool.connectionTimeout=5000 redis.pool.idleTimeout=10000