mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:15:13 +00:00
continue attempt to reduce duplicated updates of the same content.
This commit is contained in:
parent
40cb32565d
commit
9cd2de9a4f
1 changed files with 7 additions and 0 deletions
|
@ -514,6 +514,13 @@ class Display extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
// When updating, set loadtime just prior to returning the
|
||||
// update. This will prevent the current content from being sent again,
|
||||
// unless there were additional updates.
|
||||
|
||||
if ($this->updating) {
|
||||
$_SESSION['loadtime_display'] = Time::convert();
|
||||
}
|
||||
return $o;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue