Skip to content

Commit b3ed687

Browse files
gr8manmichalsn
andauthored
Update system/Session/Handlers/RedisHandler.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent 6743fd0 commit b3ed687

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Session/Handlers/RedisHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public function __construct(SessionConfig $config, string $ipAddress)
9898
$this->keyPrefix .= $this->ipAddress . ':';
9999
}
100100

101-
$this->lockRetryInterval = $config->lockRetryInterval;
102-
$this->lockMaxRetries = $config->lockMaxRetries;
101+
$this->lockRetryInterval = $config->lockRetryInterval ?? $this->lockRetryInterval;
102+
$this->lockMaxRetries = $config->lockMaxRetries ?? $this->lockMaxRetries;
103103
}
104104

105105
protected function setSavePath(): void

0 commit comments

Comments
 (0)