Skip to content

Commit 7e3362c

Browse files
marius-meissnermichael-grunder
authored andcommitted
PHPREDIS-1422: Added hint for session locking support
1 parent 2e41237 commit 7e3362c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ The session handler requires a version of Redis with the `SETEX` command (at lea
6464
phpredis can also connect to a unix domain socket: `session.save_path = "unix:///var/run/redis/redis.sock?persistent=1&weight=1&database=0`.
6565

6666
### Session locking
67+
68+
**Support**: Locking feature is currently only supported for Redis setup with single master instance (e.g. classic master/slave Sentinel environment).
69+
So locking may not work properly in RedisArray or RedisCluster environments.
70+
6771
Following INI variables can be used to configure session locking:
6872
~~~
6973
; Should the locking be enabled? Defaults to: 0.

0 commit comments

Comments
 (0)