mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
Improve photo loading speed
This commit is contained in:
parent
3ed4f427bf
commit
7f56e2e7a9
7 changed files with 103 additions and 29 deletions
|
@ -218,6 +218,7 @@ class Network extends BaseModule
|
|||
$unseen = Item::exists($condition);
|
||||
|
||||
if ($unseen) {
|
||||
/// @todo handle huge "unseen" updates in the background to avoid timeout errors
|
||||
Item::update(['unseen' => false], $condition);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue