Skip to content

Commit e386223

Browse files
authored
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
1 parent bbe3ee0 commit e386223

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Session/SaveHandler/Redis

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Session/SaveHandler/Redis/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ class Config implements \Cm\RedisSession\Handler\ConfigInterface
4848
/**
4949
* Configuration path for persistent identifier
5050
*/
51-
const PARAM_PERSISTENT_IDENTIFIER = 'session/redis/param_persistent_identifier';
51+
const PARAM_PERSISTENT_IDENTIFIER = 'session/redis/persistent_identifier';
5252

5353
/**
5454
* Configuration path for compression threshold
5555
*/
56-
const PARAM_COMPRESSION_THRESHOLD = 'session/redis/param_compression_threshold';
56+
const PARAM_COMPRESSION_THRESHOLD = 'session/redis/compression_threshold';
5757

5858
/**
5959
* Configuration path for compression library

0 commit comments

Comments
 (0)