Add redis.max configuration setting and document it.