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:
authorMike Griego <mike@griegocentral.com>2021-01-16 23:50:06 +0300
committermichael-grunder <michael.grunder@gmail.com>2021-03-09 22:09:06 +0300
commit687a0b405051adada1ff460a3863d0f85cd6e98a (patch)
tree68e24f906006367d50dc94fc785e7a5b66b04b0c /redis.c
parent05cb5080b4c9ff3c84cba80555b0cbe261291778 (diff)
Fail if session lock can't be acquired, more sane lock wait defaults, and add more logging.
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis.c b/redis.c
index 10b0e159..7af10950 100644
--- a/redis.c
+++ b/redis.c
@@ -103,8 +103,8 @@ 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", "10", PHP_INI_ALL, NULL)
- PHP_INI_ENTRY("redis.session.lock_wait_time", "2000", PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("redis.session.lock_retries", "1000", PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("redis.session.lock_wait_time", "20000", PHP_INI_ALL, NULL)
PHP_INI_END()
/** {{{ Argument info for commands in redis 1.0 */