瀏覽代碼

Update RedisClusterSessionHandler.php

walkor 3 年之前
父節點
當前提交
563765e8fb
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/Protocols/Http/Session/RedisClusterSessionHandler.php

+ 0 - 1
src/Protocols/Http/Session/RedisClusterSessionHandler.php

@@ -20,7 +20,6 @@ class RedisClusterSessionHandler extends RedisSessionHandler
 {
     public function __construct($config)
     {
-        $this->_maxLifetime = (int)Session::$lifetime;
         $timeout = $config['timeout'] ?? 2;
         $read_timeout = $config['read_timeout'] ?? $timeout;
         $persistent = $config['persistent'] ?? false;