]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not perform synchronous update on pubsub call
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Aug 2011 07:30:26 +0000 (11:30 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Aug 2011 07:30:26 +0000 (11:30 +0400)
backend.php

index 39befe202e9b2aba001c7cddbe2f8964a5ca04d3..b06bd000b95b599195296627b7b49bfa9fb734f9 100644 (file)
                                        } 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 {