More defered insertion

This commit is contained in:
Alexandre Alapetite
2017-03-27 21:26:38 +02:00
parent bc580c5905
commit 5541e39512
2 changed files with 13 additions and 3 deletions

View File

@@ -474,7 +474,11 @@ class FreshRSS_importExport_Controller extends Minz_ActionController {
}
$this->entryDAO->commit();
$entryDAO->commitNewEntries();
$this->entryDAO->beginTransaction();
$this->entryDAO->commitNewEntries();
$this->feedDAO->updateCachedValues();
$this->entryDAO->commit();
return !$error;
}