Skip to content

Commit

Permalink
fix: allow to setup redis maxmemory
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Jan 16, 2024
1 parent 9d3d9e6 commit f0539a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tutor/templates/apps/redis/redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
aof-use-rdb-preamble yes

################################ MEMORY - EVICTION ###############################

# https://redis.io/docs/reference/eviction/
maxmemory {{ REDIS_MAXMEMORY }}
maxmemory-policy allkeys-lru

0 comments on commit f0539a2

Please sign in to comment.