Merge pull request '[RFC] update_rss_feed: juxtapose pdo and ORM commit on timestamp update' (#63) from rtollert/tt-rss:update-rss-deadlock1 into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/63
This commit is contained in:
fox 2022-01-14 10:24:57 +03:00
commit d3f26cc4a6
1 changed files with 2 additions and 2 deletions

View File

@ -786,13 +786,13 @@ class RSSUtils {
// dupes when the entry gets purged and reinserted again e.g.
// in the case of SLOW SLOW OMG SLOW updating feeds
$pdo->commit();
$entry_obj = ORM::for_table('ttrss_entries')
->find_one($base_entry_id)
->set('date_updated', Db::NOW())
->save();
$pdo->commit();
continue;
}