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:
authormichael-grunder <michael.grunder@gmail.com>2020-06-25 04:13:54 +0300
committermichael-grunder <michael.grunder@gmail.com>2020-06-25 04:13:54 +0300
commit857a2af49739beb6341350f881e2acf07a360499 (patch)
tree87d05c29a75689f6df4203961b65699af8289749 /redis.c
parenta311cc4ec3cecdbaf83ba66985efa82137e37cc0 (diff)
Add liveness check and create pconnect "YOLO" mode.
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis.c b/redis.c
index b361aab2..ad681752 100644
--- a/redis.c
+++ b/redis.c
@@ -96,6 +96,7 @@ PHP_INI_BEGIN()
/* redis pconnect */
PHP_INI_ENTRY("redis.pconnect.pooling_enabled", "1", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("redis.pconnect.connection_limit", "0", PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("redis.pconnect.echo_check_liveness", "1", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("redis.pconnect.pool_pattern", "", PHP_INI_ALL, NULL)
/* redis session */