Skip to content

Commit 5d3540f

Browse files
Merge pull request #19 from ByteInternet/redis-platform-configuration
fix persistence port
2 parents e76823f + 505d57d commit 5d3540f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PlatformConfiguration/RedisConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(
7171
$persistence = false,
7272
$useSupervisor = false
7373
) {
74-
$this->port = (self::DEFAULT_PORT && $persistence) ? self::DEFAULT_PERSISTENCE_PORT : $port;
74+
$this->port = ($port == self::DEFAULT_PORT && $persistence) ? self::DEFAULT_PERSISTENCE_PORT : $port;
7575
$this->backendDb = $backendDb;
7676
$this->version = $version;
7777
$this->memory = $memory;

0 commit comments

Comments
 (0)