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>2021-03-09 22:21:24 +0300
committermichael-grunder <michael.grunder@gmail.com>2021-03-09 22:25:29 +0300
commit306fa25c19d9164a0c3e2dea20ad19e683319a5f (patch)
treeeff815a8eed1315933ae12274dd1d5c2bc2a9ca4 /redis.c
parent92d5e3065d571d3557f5057dc809c949417ce6ee (diff)
Smaller default retry count
See #1908
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.c b/redis.c
index 7af10950..481ccb20 100644
--- a/redis.c
+++ b/redis.c
@@ -103,7 +103,7 @@ PHP_INI_BEGIN()
/* redis session */
PHP_INI_ENTRY("redis.session.locking_enabled", "0", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("redis.session.lock_expire", "0", PHP_INI_ALL, NULL)
- PHP_INI_ENTRY("redis.session.lock_retries", "1000", PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("redis.session.lock_retries", "100", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("redis.session.lock_wait_time", "20000", PHP_INI_ALL, NULL)
PHP_INI_END()