diff options
author | Mike Griego <mike@griegocentral.com> | 2021-01-16 23:50:06 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2021-03-09 22:09:06 +0300 |
commit | 687a0b405051adada1ff460a3863d0f85cd6e98a (patch) | |
tree | 68e24f906006367d50dc94fc785e7a5b66b04b0c /redis.c | |
parent | 05cb5080b4c9ff3c84cba80555b0cbe261291778 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |