Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Meissner <marius.meissner@sixt.com>2018-10-15 11:24:32 +0300
committerMichael Grunder <michael.grunder@gmail.com>2018-10-15 20:14:01 +0300
commit7e3362c7ff646177c4f423b697ee088b6f4b3ba6 (patch)
tree4b4704ba297c37f8ff3677fd70ae76b907d2e47d /README.markdown
parent2e412373c47a574a1215756e79e6512a46e30cdc (diff)
PHPREDIS-1422: Added hint for session locking support
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 23c9b257..5dbea00f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -64,6 +64,10 @@ The session handler requires a version of Redis with the `SETEX` command (at lea
phpredis can also connect to a unix domain socket: `session.save_path = "unix:///var/run/redis/redis.sock?persistent=1&weight=1&database=0`.
### Session locking
+
+**Support**: Locking feature is currently only supported for Redis setup with single master instance (e.g. classic master/slave Sentinel environment).
+So locking may not work properly in RedisArray or RedisCluster environments.
+
Following INI variables can be used to configure session locking:
~~~
; Should the locking be enabled? Defaults to: 0.