fix: empty redis password must be string (#1232)

This commit is contained in:
stefanprobst 2020-11-07 01:36:05 +01:00 committed by GitHub
parent 6fd2227a3d
commit b8cc63fb83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
<?php
if (getenv('REDIS_HOST')) {
$CONFIG = array (
$CONFIG = array(
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
'password' => getenv('REDIS_HOST_PASSWORD'),
'password' => (string) getenv('REDIS_HOST_PASSWORD'),
),
);