do not perform synchronous update on pubsub call

This commit is contained in:
Andrew Dolgov 2011-08-08 11:30:26 +04:00
parent 3261ca5820
commit 1b79034372
1 changed files with 5 additions and 1 deletions

View File

@ -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 {