Browse Source

Merge pull request #15336 from epma01/redis-patch

Fix Redis with unix socket #730
tags/v17.0.0beta1
Roeland Jago Douma 5 years ago
parent
commit
9fe4d8e7a1
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      lib/private/RedisFactory.php

+ 3
- 1
lib/private/RedisFactory.php View File

@@ -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…
Cancel
Save