From: Andrew Dolgov Date: Mon, 8 Aug 2011 07:30:26 +0000 (+0400) Subject: do not perform synchronous update on pubsub call X-Git-Tag: 1.5.6~53 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1b79034372918f086a10daab7d50cea7c46b89cd;p=tt-rss.git do not perform synchronous update on pubsub call --- diff --git a/backend.php b/backend.php index 39befe20..b06bd000 100644 --- a/backend.php +++ b/backend.php @@ -585,8 +585,12 @@ } else if (!$mode) { // Received update ping, schedule feed update. + //update_rss_feed($link, $feed_id, true, true); - update_rss_feed($link, $feed_id, true, true); + db_query($link, "UPDATE ttrss_feeds SET + last_update_started = '1970-01-01', + last_updated = '1970-01-01' WHERE id = '$feed_id' AND + owner_uid = ".$_SESSION["uid"]); } } else {