Skip to content

Commit

Permalink
Merge pull request #6022 from dimagi/dmr/allkeys-production-downsize
Browse files Browse the repository at this point in the history
Use maxmemory-policy=allkeys-lru on production redis and downsize
  • Loading branch information
shyamkumarlchauhan authored Jul 3, 2023
2 parents bb3b7f9 + 2729ee1 commit 02ee935
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion environments/production/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,10 @@ internal_albs:

elasticache_cluster:
create: yes
cache_node_type: "cache.r6g.2xlarge"
cache_node_type: "cache.r6g.xlarge"
cache_engine_version: "7.x"
params:
maxmemory-policy: 'allkeys-lru'
automatic_failover: true
transit_encryption: false
at_rest_encryption: true
Expand Down

0 comments on commit 02ee935

Please sign in to comment.