Skip to content

Commit 355ed06

Browse files
authored
Update README with redis eviction notes (#1298)
README has been updated with appropriate notes on redis eviction considerations.
1 parent 03ab8b9 commit 355ed06

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,14 @@ If you already have one, you just need to run `cargo build`, otherwise, please p
180180
The server requires the following runtime dependencies to work correctly:
181181

182182
- A PostgreSQL server - for the storage of events.
183-
- An *optional* Redis server version 6.2.0 or higher - for the task queue and cache. Please note that it's recommended to enable persistence in Redis so that tasks are persisted across Redis server restarts and upgrades.
183+
- An *optional* Redis server version 6.2.0 or higher - for the task queue and cache.
184+
185+
## Redis/Valkey Considerations
186+
### Persistence
187+
Please note that it's recommended to enable persistence in Redis so that tasks are persisted across Redis server restarts and upgrades.
188+
189+
### Eviction Policy
190+
Please ensure that your Redis instances are configured to not evict keys without explicit `expire` policies set. This means that `maxmemory-policy` should be set to `noeviction` or to any of the available `volatile-` policies. See Redis/Valkey documentation for further information.
184191

185192
## Server configuration
186193

0 commit comments

Comments
 (0)