mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Fix Redis with unix socket
Signed-off-by: Alejandro Varela <epma01@gmail.com>
This commit is contained in:
parent
82aa8d71cf
commit
f6d069ee58
1 changed files with 3 additions and 1 deletions
|
|
@ -72,8 +72,10 @@ class RedisFactory {
|
|||
}
|
||||
if (isset($config['port'])) {
|
||||
$port = $config['port'];
|
||||
} else {
|
||||
} else if ($host[0] !== '/') {
|
||||
$port = 6379;
|
||||
} else {
|
||||
$port = null;
|
||||
}
|
||||
if (isset($config['timeout'])) {
|
||||
$timeout = $config['timeout'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue