From e3862231f93a80d5dc5fa643404f4381f1a2e86a Mon Sep 17 00:00:00 2001 From: Luke Hanley Date: Sun, 23 Apr 2017 18:12:27 +0100 Subject: [PATCH] Redis sess: fix path for persistent_identifier & compression_threshold The paths for both `persistent_identifier` & `compression_threshold` are prefixed with `param_`. This is against both the documentation and it does not follow the standard used throughout the configuration. https://github.com/magento/devdocs/blob/develop/guides/v2.0/config-guide/redis/redis-session.md#configure-magento-to-use-redis-for-session-storage --- .../Magento/Framework/Session/SaveHandler/Redis/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/Magento/Framework/Session/SaveHandler/Redis/Config.php b/lib/internal/Magento/Framework/Session/SaveHandler/Redis/Config.php index 449457830ef17..6b7ab238c30ca 100644 --- a/lib/internal/Magento/Framework/Session/SaveHandler/Redis/Config.php +++ b/lib/internal/Magento/Framework/Session/SaveHandler/Redis/Config.php @@ -48,12 +48,12 @@ class Config implements \Cm\RedisSession\Handler\ConfigInterface /** * Configuration path for persistent identifier */ - const PARAM_PERSISTENT_IDENTIFIER = 'session/redis/param_persistent_identifier'; + const PARAM_PERSISTENT_IDENTIFIER = 'session/redis/persistent_identifier'; /** * Configuration path for compression threshold */ - const PARAM_COMPRESSION_THRESHOLD = 'session/redis/param_compression_threshold'; + const PARAM_COMPRESSION_THRESHOLD = 'session/redis/compression_threshold'; /** * Configuration path for compression library