]> git.wh0rd.org Git - tt-rss.git/commitdiff
wait a bit before initial content fetching
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 26 Nov 2012 10:52:18 +0000 (14:52 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 26 Nov 2012 10:52:18 +0000 (14:52 +0400)
include/rssfuncs.php

index c273cc3c4e48600fea3ff5e94d8a05fe3b4ae84a..1a0eb5f1f6656c910d1750905adf83e9b82c2d9d 100644 (file)
 
                                        if ($cache_content) {
                                                if ($debug_enabled) {
-                                                       _debug("update_rss_feed: caching content...");
+                                                       _debug("update_rss_feed: caching content (initial)...");
                                                }
 
+                                               // give the publisher some time to put stuff online
+                                               sleep(10);
+
                                                $entry_cached_content = cache_content($link, $entry_link, $auth_login, $auth_pass);
 
                                                if ($cache_images && is_writable(CACHE_DIR . '/images'))