Skip to content

Commit 7057430

Browse files
committed
Merge branch 'hotfix/ttl'
2 parents 6266bb2 + 2119465 commit 7057430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RedisSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct(\Redis $redis, $prefix = 'PHPREDIS_SESSION:', $spinL
6666
{
6767
$this->redis = $redis;
6868

69-
$this->ttl = ini_get('gc_maxlifetime');
69+
$this->ttl = ini_get('session.gc_maxlifetime');
7070
$iniMaxExecutionTime = ini_get('max_execution_time');
7171
$this->lockMaxWait = $iniMaxExecutionTime ? $iniMaxExecutionTime * 0.7 : 20;
7272

0 commit comments

Comments
 (0)