From 1b79034372918f086a10daab7d50cea7c46b89cd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Aug 2011 11:30:26 +0400 Subject: [PATCH] do not perform synchronous update on pubsub call --- backend.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { -- 2.39.5