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:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-02-20 10:59:17 +0300
committermichael-grunder <michael.grunder@gmail.com>2019-03-19 23:05:40 +0300
commitf9016f1bfb4e6350efe2f91d724d74fa482136bd (patch)
treec5c231fd26719f4a03cdd1f5869a3301c19cdae2 /README.markdown
parent80dcc9611e99616f0df7040de64604d19dfa4a76 (diff)
Update documentation.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 04a0a1e1..7b67225b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -207,13 +207,15 @@ $redis->connect('127.0.0.1', 6379, 1, NULL, 100); // 1 sec timeout, 100ms delay
-----
_**Description**_: Connects to a Redis instance or reuse a connection already established with `pconnect`/`popen`.
-The connection will not be closed on `close` or end of request until the php process ends.
+The connection will not be closed on end of request until the php process ends.
So be prepared for too many open FD's errors (specially on redis server side) when using persistent
connections on many servers connecting to one redis server.
Also more than one persistent connection can be made identified by either host + port + timeout
or host + persistent_id or unix socket + timeout.
+Starting from version 4.2.1, it became possible to use connection pooling by setting INI variable `redis.pconnect.pooling_enabled` to 1.
+
This feature is not available in threaded versions. `pconnect` and `popen` then working like their non
persistent equivalents.