Skip to content

Commit

Permalink
The cache use memory by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Heromyth committed Feb 5, 2021
1 parent 00a8d64 commit 96ddf71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 96ddf71

Please sign in to comment.