Oh I see now. You want to pass a new parameters here:
Sounds like an acceptable PR for me, that adds a setting to set c[:timeout] = redis_timeout if redis_timeout.
However, we have seen some people suffering for bad page timings when redis has a long latency to the webserver, keep that in mind.