Skip to content

Allow configuration of Redis hz parameter

Stan Hu requested to merge sh-support-redis-hz-param into master

As mentioned in http://download.redis.io/redis-stable/redis.conf, this may be necessary to tweak when there are many connections present.

By default "hz" is set to 10. Raising the value will use more CPU when Redis is idle, but at the same time will make Redis more responsive when there are many keys expiring at the same time, and timeouts may be handled with more precision.

Merge request reports