1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-11 08:05:56 +00:00

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

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;
}