Skip to content

Set Redis Max Memory Policy #398

@annehaley

Description

@annehaley

Since we started using Redis for our large-image cache, we often encounter container crashes due to exceeding the default max memory. We need to change the max memory policy in both dev (docker-compose.yml) and prod environments (terraform/django.tf).

["redis-server", "--maxmemory", "4096MB", "--maxmemory-policy", "allkeys-lru"]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions