foreveralone

foreveralone Commit Details


Date:2016-03-06 17:27:18 (8 years 9 months ago)
Author:Natalie Adams
Branch:master
Commit:704f1b6ccfc7f458a79b1b6701d5b0e38a3709a8
Parents: ea73bb9b3948f65d60f5cd1227723d5edd064ac6
Message:Issue 130: Timeout is too short for mobile devices

Changes:

File differences

web/application/controllers/base.php
6565
6666
6767
68
68
6969
7070
7171
parent::__construct($config, $core, $tpl);
$core->setupDatabaseConnection();
$expiredSessions = \vendor\DB\DB::fetchObject("SELECT * FROM sessions WHERE lastPing <= ?", "\application\models\Sessions", [time() - 20]);
$expiredSessions = \vendor\DB\DB::fetchObject("SELECT * FROM sessions WHERE lastPing <= ?", "\application\models\Sessions", [time() - 120]);
/** @var \application\models\Sessions $session */
foreach($expiredSessions as $session) {
if ($session->to_user) {

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.09297s using 20 queries.