Extend cluster by name also to session handler (save_path) #2614
reporter4u
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
in order to simplify the save_path ini setting I think it could be useful to extend the cluster by name setting also to session handler. This is useful when there are a lot of applications configured in many different php-fpm context and you have to change cluster nodes: it's easier change once in redis.ini file.
Furthermore the options could be the same of redis.clusters.persistent, redis.clusters.read_timeout, redis.clusters.timeout, etc. adding redis.clusters.failover and redis.clusters.stream.
If it is necessary to keep them separate another choice could be to duplicate each redis.cluster.* options mentioned before in something like redis.clusters.session.* except redis.clusters.seeds
For example:
Beta Was this translation helpful? Give feedback.
All reactions