mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
update: set last_updated to now() when process starts
This commit is contained in:
@@ -212,6 +212,10 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set last update to now so if anything *simplepie* crashes later we won't be
|
||||||
|
// continuously failing on the same feed
|
||||||
|
db_query("UPDATE ttrss_feeds SET last_updated = NOW() WHERE id = '$feed'");
|
||||||
|
|
||||||
$last_updated = db_fetch_result($result, 0, "last_updated");
|
$last_updated = db_fetch_result($result, 0, "last_updated");
|
||||||
$last_article_timestamp = @strtotime(db_fetch_result($result, 0, "last_article_timestamp"));
|
$last_article_timestamp = @strtotime(db_fetch_result($result, 0, "last_article_timestamp"));
|
||||||
$owner_uid = db_fetch_result($result, 0, "owner_uid");
|
$owner_uid = db_fetch_result($result, 0, "owner_uid");
|
||||||
|
|||||||
Reference in New Issue
Block a user