API: SQL optimisation

https://github.com/marienfressinaud/FreshRSS/issues/13
This commit is contained in:
Alexandre Alapetite
2014-03-01 15:47:15 +01:00
parent 29b3bbfe28
commit 71f7ce1be5
4 changed files with 42 additions and 22 deletions

View File

@@ -137,11 +137,13 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
if ($nb > 0) {
$nbTotal += $nb;
Minz_Log::record($nb . ' old entries cleaned in feed [' . $feed->url() . ']', Minz_Log::DEBUG);
$feedDAO->updateLastUpdate($feed->id());
//$feedDAO->updateLastUpdate($feed->id());
}
}
}
$feedDAO->updateCachedValues();
invalidateHttpCache();
$notif = array(