Commit 3ee120fe authored by Clément OUDOT's avatar Clément OUDOT

Do not update session _lastSeen at each request (#805)

parent 572636ea
......@@ -201,7 +201,8 @@ sub retrieveSession {
$datas = $session->data;
# Update the session to notify activity, if necessary
if ( $tsv->{timeoutActivity} ) {
if ( $tsv->{timeoutActivity} and ( time() - $datas->{_lastSeen} < 60 ) )
{
$session->update( { '_lastSeen' => time } );
if ( $session->error ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment