We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6266bb2 commit 2119465Copy full SHA for 2119465
src/RedisSessionHandler.php
@@ -66,7 +66,7 @@ public function __construct(\Redis $redis, $prefix = 'PHPREDIS_SESSION:', $spinL
66
{
67
$this->redis = $redis;
68
69
- $this->ttl = ini_get('gc_maxlifetime');
+ $this->ttl = ini_get('session.gc_maxlifetime');
70
$iniMaxExecutionTime = ini_get('max_execution_time');
71
$this->lockMaxWait = $iniMaxExecutionTime ? $iniMaxExecutionTime * 0.7 : 20;
72
0 commit comments