Skip to content
Snippets Groups Projects
Commit 33d87eddd626 authored by Igor Wiedler's avatar Igor Wiedler
Browse files

redis: docs for lazy freeing

parent d49d3fc36f8d
No related branches found
No related tags found
No related merge requests found
......@@ -229,6 +229,19 @@
If you are using custom SSL certificates for Redis, be sure to add them
to the [trusted certificates](../settings/ssl.md#install-custom-public-certificates).
## Lazy freeing
Redis 4 introduced [lazy freeing](http://antirez.com/news/93). This can improve performance when freeing large values.
This setting defaults to `false`. To enable it, you can use:
```ruby
redis['lazyfree_lazy_eviction'] = true
redis['lazyfree_lazy_expire'] = true
redis['lazyfree_lazy_server_del'] = true
redis['replica_lazy_flush'] = true
```
## Common Troubleshooting
### x509: certificate signed by unknown authority
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment