mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
use the minimum of configured session_livetime and session.gc_maxlifetime for session hearbeat interval calculation
This commit is contained in:
parent
1173a55ddb
commit
764e695cb6
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ $array = array(
|
|||
"firstDay" => json_encode($l->l('firstday', 'firstday')) ,
|
||||
"oc_config" => json_encode(
|
||||
array(
|
||||
'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')),
|
||||
'session_lifetime' => min(\OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')), ini_get('session.gc_maxlifetime')),
|
||||
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true),
|
||||
'version' => implode('.', OC_Util::getVersion()),
|
||||
'versionstring' => OC_Util::getVersionString(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue