Add nrows history limit to Rspamd docs

Dieser Commit ist enthalten in:
andryyy 2021-04-19 14:36:17 +02:00
Ursprung 0cb86a87d0
Commit d1e8fbc470
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 8EC34FF2794E25EF

Datei anzeigen

@ -224,3 +224,19 @@ redis-cli -h redis DEL Q_LAST_NOTIFIED
quarantine_notify.py quarantine_notify.py
``` ```
## Increase history retention
By default Rspamd keeps 1000 elements in the history.
The history is stored compressed.
It is recommended not to use a disproportionate high value here, try something along 5000 or 10000 and see how your server handles it:
Edit `data/conf/rspamd/local.d/history_redis.conf`:
```
nrows = 1000; # change this value
```
Restart Rspamd afterwards: `docker-compose restart rspamd-mailcow`